Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01375/0.01375, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002142/0.002142, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.928/2.928, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001535, allocations: 63.91 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3767, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004116/0.3808, allocations: 1.654 MB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3822, allocations: 0.5191 MB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.3824, allocations: 3.938 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007784/0.3832, allocations: 170.1 kB / 1.21 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006388/0.3838, allocations: 154.6 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006354/0.3845, allocations: 199.2 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.3849, allocations: 199.5 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.3851, allocations: 33.83 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.3853, allocations: 83.67 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.3856, allocations: 155.6 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.3857, allocations: 12 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.3858, allocations: 43.98 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.386, allocations: 95.69 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.3861, allocations: 99.27 kB / 1.211 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005044/0.3866, allocations: 267 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3866, allocations: 0 / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3866, allocations: 0 / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.3867, allocations: 4 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001102/0.3878, allocations: 0.5719 MB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/0.3878, allocations: 12.62 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.3879, allocations: 42.67 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.388, allocations: 32.56 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005891/0.3886, allocations: 366.4 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3886, allocations: 8.375 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.3887, allocations: 384 / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.3889, allocations: 81.53 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.3889, allocations: 0 / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3889, allocations: 0 / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3889, allocations: 0 / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.3891, allocations: 59.89 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.3898, allocations: 428.5 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.39, allocations: 46.59 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3901, allocations: 28.89 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.3901, allocations: 4 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3901, allocations: 34.56 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3901, allocations: 0 / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004351/0.3906, allocations: 121.2 kB / 1.213 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.3906, allocations: 51.41 kB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006825/0.3913, allocations: 0.521 MB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3914, allocations: 25.7 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3915, allocations: 168 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.3915, allocations: 7.844 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.3916, allocations: 13.72 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3918, allocations: 346.8 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.131e-05/0.3919, allocations: 15.98 kB / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.685e-05/0.392, allocations: 19.98 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.3922, allocations: 48.81 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3922, allocations: 0 / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002702/0.3925, allocations: 105.2 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.3925, allocations: 4 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3925, allocations: 4 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.3925, allocations: 0 / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3927, allocations: 15.98 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3927, allocations: 0 / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.185e-05/0.3928, allocations: 11.92 kB / 1.214 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3928, allocations: 0 / 1.214 GB, free: 3.129 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.393, allocations: 166.3 kB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.393, allocations: 27.62 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.3933, allocations: 120 kB / 1.214 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3934, allocations: 0 / 1.214 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3934, allocations: 3.938 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3934, allocations: 3.938 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.3937, allocations: 257.5 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3937, allocations: 0 / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/0.3937, allocations: 11.98 kB / 1.214 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3938, allocations: 0 / 1.214 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3938, allocations: 4 kB / 1.214 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3938, allocations: 4 kB / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3938, allocations: 0 / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.3941, allocations: 199.1 kB / 1.215 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.501e-05/0.3942, allocations: 108.8 kB / 1.215 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.3942, allocations: 0 / 1.215 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3943, allocations: 7.984 kB / 1.215 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.3944, allocations: 7.938 kB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.3944, allocations: 11.94 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004311/0.3948, allocations: 383.1 kB / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.41e-07/0.3949, allocations: 0 / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002774/0.3951, allocations: 27.98 kB / 1.215 GB, free: 1.707 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.3966, allocations: 0.9671 MB / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.3969, allocations: 51.89 kB / 1.216 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.3969, allocations: 4 kB / 1.216 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.813e-05/0.397, allocations: 23.92 kB / 1.216 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/0.3975, allocations: 52.34 kB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.401, allocations: 2.592 MB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.4014, allocations: 0.771 MB / 1.22 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.4015, allocations: 33.94 kB / 1.22 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.4017, allocations: 87.41 kB / 1.22 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of SimCode: time 9.31e-07/0.4017, allocations: 0 / 1.22 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.4265, allocations: 5.119 MB / 1.225 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.283, allocations: 8.516 kB / 1.225 GB, free: 8.113 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches