Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_10_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.0008858/0.0008859, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005023/0.005023, allocations: 173.8 kB / 16.27 MB, free: 6.613 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.221/1.221, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.303/2.303, allocations: 437.8 MB / 0.7121 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 8.281 kB / 0.8729 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5491, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.001677/0.5508, allocations: 1.363 MB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.5516, allocations: 0.507 MB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.5517, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003996/0.5521, allocations: 174.6 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.5524, allocations: 153 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.5528, allocations: 180.7 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.553, allocations: 187.5 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.5531, allocations: 43.72 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.053e-05/0.5532, allocations: 71.67 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.5534, allocations: 143.6 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.5534, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.448e-05/0.5535, allocations: 28 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.5536, allocations: 75.69 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.708e-05/0.5537, allocations: 117 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.5539, allocations: 247 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5539, allocations: 0 / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5539, allocations: 4 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.5539, allocations: 4 kB / 1.026 GB, free: 12.53 MB / 0.7794 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.0006228/0.5546, allocations: 0.541 MB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.5546, allocations: 12.03 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.5547, allocations: 38.69 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.5547, allocations: 36.55 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.5551, allocations: 370.3 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.5551, allocations: 12.31 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.5551, allocations: 4.375 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.5553, allocations: 81.59 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5553, allocations: 3.938 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.5554, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.5554, allocations: 4 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.5556, allocations: 59.95 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.556, allocations: 424.5 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.5562, allocations: 58.55 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.846e-05/0.5563, allocations: 28.91 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.5563, allocations: 3.984 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.5563, allocations: 38.56 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.5563, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003593/0.5567, allocations: 129.4 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.5567, allocations: 55.41 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004976/0.5572, allocations: 0.5171 MB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.5573, allocations: 29.64 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.5574, allocations: 168 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.5574, allocations: 11.81 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.5574, allocations: 9.719 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5575, allocations: 342.8 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.743e-05/0.5576, allocations: 27.97 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.5577, allocations: 19.98 kB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.5579, allocations: 60.81 kB / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.5579, allocations: 0 / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002241/0.5581, allocations: 109.3 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.5582, allocations: 4 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5582, allocations: 0 / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.5582, allocations: 4 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.5583, allocations: 15.98 kB / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.5583, allocations: 0 / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.178e-05/0.5584, allocations: 15.84 kB / 1.029 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.5584, allocations: 0 / 1.029 GB, free: 9.102 MB / 0.7794 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.0001172/0.5585, allocations: 169.8 kB / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.5585, allocations: 23.72 kB / 1.03 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.5588, allocations: 136.3 kB / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5588, allocations: 3.938 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.5588, allocations: 0 / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5588, allocations: 7.938 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.5591, allocations: 261.5 kB / 1.03 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5591, allocations: 4 kB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.5591, allocations: 15.98 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5592, allocations: 0 / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.5592, allocations: 4 kB / 1.03 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5592, allocations: 0 / 1.03 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5592, allocations: 0 / 1.03 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.5594, allocations: 203.2 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.5595, allocations: 116.7 kB / 1.03 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.5596, allocations: 4 kB / 1.03 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.5597, allocations: 11.98 kB / 1.03 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.5597, allocations: 15.88 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.5597, allocations: 11.92 kB / 1.03 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003555/0.5601, allocations: 383.1 kB / 1.031 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5601, allocations: 0 / 1.031 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002362/0.5603, allocations: 24 kB / 1.031 GB, free: 7.629 MB / 0.7794 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.001085/0.5614, allocations: 0.9736 MB / 1.032 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.5616, allocations: 59.89 kB / 1.032 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5616, allocations: 0 / 1.032 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.081e-05/0.5617, allocations: 27.98 kB / 1.032 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.5621, allocations: 48.28 kB / 1.032 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.5649, allocations: 2.679 MB / 1.034 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.5652, allocations: 0.7712 MB / 1.035 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.427e-05/0.5653, allocations: 37.92 kB / 1.035 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.5654, allocations: 87.41 kB / 1.035 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5654, allocations: 0 / 1.035 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4106/0.9761, allocations: 4.489 MB / 1.04 GB, free: 14.59 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/0.9764, allocations: 229.5 kB / 1.04 GB, free: 14.33 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.67, allocations: 0 / 1.04 GB, free: 14.33 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches