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: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 119.1 kB / 16.37 MB, free: 6.004 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.001801/0.001801, allocations: 192.8 kB / 17.31 MB, free: 5.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.491/1.491, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.427/2.427, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 65 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4225, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003223/0.4258, allocations: 1.816 MB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003255/0.4262, allocations: 115.6 kB / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.153e-05/0.4263, allocations: 3.938 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.4264, allocations: 15.84 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.06e-05/0.4265, allocations: 51.56 kB / 0.9531 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.4267, allocations: 35.94 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.4269, allocations: 171.1 kB / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.427, allocations: 17.12 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.262e-05/0.4271, allocations: 59.77 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.4272, allocations: 75.75 kB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.4273, allocations: 8 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.629e-05/0.4273, allocations: 12 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.4273, allocations: 19.92 kB / 0.9535 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.779e-05/0.4274, allocations: 71.66 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.4276, allocations: 123.5 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4276, allocations: 0 / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4276, allocations: 0 / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4276, allocations: 0 / 0.9536 GB, free: 5.445 MB / 0.7325 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.000853/0.4285, allocations: 458.8 kB / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4285, allocations: 8.031 kB / 0.9541 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.4286, allocations: 16.75 kB / 0.9541 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.429, allocations: 211.6 kB / 0.9543 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.429, allocations: 4.375 kB / 0.9543 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.4291, allocations: 12.31 kB / 0.9543 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.4294, allocations: 114.7 kB / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.4294, allocations: 4.125 kB / 0.9544 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.4294, allocations: 11.94 kB / 0.9544 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4294, allocations: 7.969 kB / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.4297, allocations: 91.88 kB / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00076/0.4305, allocations: 476.6 kB / 0.955 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.4308, allocations: 133.2 kB / 0.9551 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.431, allocations: 61.78 kB / 0.9552 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.4311, allocations: 3.938 kB / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.4311, allocations: 30.56 kB / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 3.146e-06/0.4311, allocations: 4 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005441/0.4316, allocations: 185.4 kB / 0.9554 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.4317, allocations: 85.05 kB / 0.9555 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.4319, allocations: 167.9 kB / 0.9556 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.4319, allocations: 29.7 kB / 0.9557 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.432, allocations: 108 kB / 0.9558 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.432, allocations: 31.55 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.4321, allocations: 29.72 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4322, allocations: 326.8 kB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.4323, allocations: 39.97 kB / 0.9562 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.4325, allocations: 57.69 kB / 0.9562 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.4327, allocations: 105.6 kB / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4328, allocations: 0 / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003153/0.4331, allocations: 141.5 kB / 0.9565 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4331, allocations: 10.03 kB / 0.9565 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4331, allocations: 0 / 0.9565 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4331, allocations: 0 / 0.9565 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.4333, allocations: 27.92 kB / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.4333, allocations: 11.98 kB / 0.9565 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.4334, allocations: 4 kB / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.4334, allocations: 7.938 kB / 0.9565 GB, free: 2.234 MB / 0.7325 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.713e-05/0.4336, allocations: 121.8 kB / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.4336, allocations: 15.81 kB / 0.9567 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.434, allocations: 155 kB / 0.9568 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.434, allocations: 8 kB / 0.9568 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.4341, allocations: 0 / 0.9568 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4341, allocations: 192 / 0.9568 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.4344, allocations: 233.5 kB / 0.957 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4344, allocations: 3.938 kB / 0.957 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.4345, allocations: 19.98 kB / 0.9571 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4345, allocations: 0 / 0.9571 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.4345, allocations: 0 / 0.9571 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4345, allocations: 7.938 kB / 0.9571 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.4345, allocations: 4 kB / 0.9571 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.4349, allocations: 318.4 kB / 0.9574 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.435, allocations: 85 kB / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.435, allocations: 4 kB / 0.9575 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.4352, allocations: 15.98 kB / 0.9575 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.4353, allocations: 4.234 kB / 0.9575 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4353, allocations: 7.938 kB / 0.9575 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.873e-05/0.4354, allocations: 132.2 kB / 0.9576 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4354, allocations: 0 / 0.9576 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002818/0.4357, allocations: 28 kB / 0.9576 GB, free: 0.9961 MB / 0.7325 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.0001075/0.4358, allocations: 103.2 kB / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003412/0.4361, allocations: 103.9 kB / 0.9578 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4362, allocations: 0 / 0.9578 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.4363, allocations: 63.88 kB / 0.9579 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.4367, allocations: 48.38 kB / 0.9579 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.4373, allocations: 227.4 kB / 0.9582 GB, free: 432 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.4376, allocations: 0.7045 MB / 0.9588 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.408e-05/0.4376, allocations: 12.66 kB / 0.9589 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.4377, allocations: 11.44 kB / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/0.4377, allocations: 0 / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of Templates: time 0.005065/0.4428, allocations: 2.09 MB / 0.9609 GB, free: 13.63 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 & ./Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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