Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_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.001533/0.001533, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001544/0.001544, allocations: 192 kB / 16.14 MB, free: 6.711 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.2 MB / 0.6643 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 55.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6651/0.6666, allocations: 140.4 MB / 0.949 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002592/0.6692, allocations: 1.879 MB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000238/0.6695, allocations: 118.6 kB / 0.951 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.6696, allocations: 1.406 kB / 0.951 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.6697, allocations: 13.17 kB / 0.951 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.142e-05/0.6698, allocations: 41.42 kB / 0.951 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.6699, allocations: 31.77 kB / 0.9511 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.6701, allocations: 160.9 kB / 0.9512 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.6702, allocations: 44.06 kB / 0.9513 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.56e-05/0.6703, allocations: 41.45 kB / 0.9513 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.692e-05/0.6704, allocations: 68.91 kB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.6704, allocations: 5.062 kB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.911e-05/0.6704, allocations: 5.438 kB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.6705, allocations: 22.91 kB / 0.9514 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.6705, allocations: 59.64 kB / 0.9515 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.6707, allocations: 121.6 kB / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6707, allocations: 9.234 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.61e-07/0.6707, allocations: 0 / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.6707, allocations: 0 / 0.9516 GB, free: 7.074 MB / 0.7169 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.0006564/0.6714, allocations: 448.7 kB / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.6714, allocations: 10.34 kB / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.6714, allocations: 41 kB / 0.9521 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.6715, allocations: 15.66 kB / 0.9521 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.6717, allocations: 208.5 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.6717, allocations: 3.156 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.6717, allocations: 8.562 kB / 0.9523 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.6719, allocations: 115.7 kB / 0.9524 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.672, allocations: 11.88 kB / 0.9524 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.672, allocations: 9.219 kB / 0.9524 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.672, allocations: 1.5 kB / 0.9524 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.6723, allocations: 90.92 kB / 0.9525 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005983/0.6729, allocations: 478.1 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.6733, allocations: 127.4 kB / 0.9531 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.6734, allocations: 65.55 kB / 0.9531 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.6734, allocations: 1.375 kB / 0.9531 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.6735, allocations: 32.28 kB / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.6735, allocations: 0 / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005323/0.674, allocations: 181.3 kB / 0.9533 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.674, allocations: 82.64 kB / 0.9534 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.6742, allocations: 174.6 kB / 0.9536 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.6742, allocations: 26.89 kB / 0.9536 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.6742, allocations: 109.1 kB / 0.9537 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.6743, allocations: 27.88 kB / 0.9537 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.6743, allocations: 22.89 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.886e-05/0.6744, allocations: 330.5 kB / 0.9541 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.6745, allocations: 47.12 kB / 0.9541 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.6747, allocations: 59.03 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.6749, allocations: 103.6 kB / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6749, allocations: 0 / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000323/0.6753, allocations: 145.5 kB / 0.9544 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.6753, allocations: 7.281 kB / 0.9544 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6753, allocations: 384 / 0.9544 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6753, allocations: 9.25 kB / 0.9544 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.6755, allocations: 21.45 kB / 0.9545 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6755, allocations: 5.188 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.6756, allocations: 22.8 kB / 0.9545 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.6756, allocations: 5.312 kB / 0.9545 GB, free: 4.48 MB / 0.7169 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 6.56e-05/0.6757, allocations: 125 kB / 0.9546 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.6758, allocations: 18.83 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.6762, allocations: 157.3 kB / 0.9548 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.6762, allocations: 0.9688 kB / 0.9548 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6762, allocations: 5.438 kB / 0.9548 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6762, allocations: 3.938 kB / 0.9548 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.6765, allocations: 219.6 kB / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6765, allocations: 1.156 kB / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.6766, allocations: 23.75 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6766, allocations: 1.188 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.6766, allocations: 1.094 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6766, allocations: 1.219 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.6767, allocations: 1.031 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.677, allocations: 316.9 kB / 0.9553 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.677, allocations: 85.02 kB / 0.9554 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.6771, allocations: 9.391 kB / 0.9554 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.6773, allocations: 5.062 kB / 0.9554 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.6773, allocations: 16.17 kB / 0.9554 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.6773, allocations: 1.344 kB / 0.9554 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.541e-05/0.6774, allocations: 136.2 kB / 0.9556 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6774, allocations: 0 / 0.9556 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000286/0.6777, allocations: 33.34 kB / 0.9556 GB, free: 3.496 MB / 0.7169 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.0005174/0.6782, allocations: 0.8403 MB / 0.9564 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.6786, allocations: 108.5 kB / 0.9565 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6786, allocations: 0 / 0.9565 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.6787, allocations: 55.84 kB / 0.9566 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.6792, allocations: 36.58 kB / 0.9566 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.6812, allocations: 1.854 MB / 0.9584 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.6813, allocations: 0.7014 MB / 0.9591 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.798e-05/0.6814, allocations: 15.44 kB / 0.9591 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.6815, allocations: 32.56 kB / 0.9592 GB, free: 268 kB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.6815, allocations: 1.406 kB / 0.9592 GB, free: 268 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.6961, allocations: 3.309 MB / 0.9624 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.6963, allocations: 222.3 kB / 0.9626 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.488, allocations: 0 / 0.9626 GB, free: 14.42 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches