Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.004936/0.004936, allocations: 98.16 kB / 15.73 MB, free: 6.012 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.001332/0.001332, allocations: 197 kB / 16.68 MB, free: 5.93 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.499/2.499, allocations: 482.6 MB / 0.755 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 64.05 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2764, allocations: 162.3 MB / 1.242 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002842/0.2793, allocations: 1.837 MB / 1.244 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002886/0.2796, allocations: 119.6 kB / 1.244 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.191e-05/0.2797, allocations: 0 / 1.244 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.425e-05/0.2798, allocations: 19.8 kB / 1.244 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.203e-05/0.2799, allocations: 47.55 kB / 1.244 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.28, allocations: 35.95 kB / 1.244 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.2803, allocations: 171.1 kB / 1.244 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2804, allocations: 37.02 kB / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.2805, allocations: 55.84 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.2806, allocations: 67.7 kB / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.2806, allocations: 8 kB / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.61e-05/0.2806, allocations: 12 kB / 1.244 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.2807, allocations: 27.91 kB / 1.244 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.391e-05/0.2808, allocations: 63.67 kB / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.2809, allocations: 123.8 kB / 1.244 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2809, allocations: 0 / 1.244 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.036e-06/0.281, allocations: 4 kB / 1.244 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.281, allocations: 3.938 kB / 1.244 GB, free: 6.293 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007427/0.2817, allocations: 456.2 kB / 1.245 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2817, allocations: 8.031 kB / 1.245 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.2818, allocations: 42.75 kB / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.2818, allocations: 16.84 kB / 1.245 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.2821, allocations: 212.1 kB / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2821, allocations: 4.375 kB / 1.245 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.2821, allocations: 8.375 kB / 1.245 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.2824, allocations: 119.8 kB / 1.245 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2824, allocations: 7.938 kB / 1.245 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2825, allocations: 8 kB / 1.245 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2825, allocations: 0 / 1.245 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.2828, allocations: 87.94 kB / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/0.2834, allocations: 472.7 kB / 1.246 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.2838, allocations: 129.2 kB / 1.246 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.284, allocations: 61.78 kB / 1.246 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.284, allocations: 4 kB / 1.246 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.284, allocations: 30.56 kB / 1.246 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.284, allocations: 4 kB / 1.246 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005539/0.2846, allocations: 181.4 kB / 1.246 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.2847, allocations: 85.11 kB / 1.246 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.2848, allocations: 162.4 kB / 1.246 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.2848, allocations: 29.7 kB / 1.246 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.2849, allocations: 108 kB / 1.246 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.285, allocations: 31.73 kB / 1.247 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.285, allocations: 25.72 kB / 1.247 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2851, allocations: 326.8 kB / 1.247 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.2853, allocations: 47.91 kB / 1.247 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.2854, allocations: 65.61 kB / 1.247 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.2857, allocations: 97.92 kB / 1.247 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2858, allocations: 4 kB / 1.247 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003431/0.2861, allocations: 149.5 kB / 1.247 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2861, allocations: 8 kB / 1.247 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2861, allocations: 0 / 1.247 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2861, allocations: 192 / 1.247 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.2863, allocations: 23.97 kB / 1.247 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.2863, allocations: 7.938 kB / 1.247 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2864, allocations: 11.89 kB / 1.247 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2864, allocations: 4 kB / 1.247 GB, free: 3.043 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 9.291e-05/0.2865, allocations: 129.8 kB / 1.247 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.2866, allocations: 15.94 kB / 1.247 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.287, allocations: 150.5 kB / 1.248 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.287, allocations: 4 kB / 1.248 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.287, allocations: 0 / 1.248 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.287, allocations: 11.92 kB / 1.248 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.2873, allocations: 229.5 kB / 1.248 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2873, allocations: 0 / 1.248 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.2875, allocations: 19.98 kB / 1.248 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2875, allocations: 0 / 1.248 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.2875, allocations: 0 / 1.248 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2875, allocations: 4 kB / 1.248 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2875, allocations: 0 / 1.248 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.2879, allocations: 318.6 kB / 1.248 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.288, allocations: 85.02 kB / 1.248 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.288, allocations: 8.188 kB / 1.248 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.2882, allocations: 11.98 kB / 1.248 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.2882, allocations: 11.92 kB / 1.248 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.2882, allocations: 4 kB / 1.248 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000102/0.2884, allocations: 136.2 kB / 1.248 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2884, allocations: 3.938 kB / 1.248 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002698/0.2886, allocations: 28.28 kB / 1.248 GB, free: 1.793 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0007003/0.2893, allocations: 0.8488 MB / 1.249 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.2897, allocations: 99.88 kB / 1.249 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2897, allocations: 0 / 1.249 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.2899, allocations: 51.97 kB / 1.249 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.000382/0.2902, allocations: 49.77 kB / 1.249 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.2924, allocations: 1.821 MB / 1.251 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.2927, allocations: 0.7084 MB / 1.252 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.966e-05/0.2928, allocations: 16.72 kB / 1.252 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.2928, allocations: 39.42 kB / 1.252 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2928, allocations: 96 / 1.252 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.378/4.671, allocations: 3.646 MB / 1.255 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/15.23, allocations: 19.33 kB / 1.256 GB, free: 10.55 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches