Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.001929/0.001929, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.554/1.554, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.281/3.281, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002418, allocations: 59.91 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.916/0.9184, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004849/0.9233, allocations: 1.83 MB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005584/0.9239, allocations: 127.6 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.9241, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.9243, allocations: 11.86 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.9246, allocations: 55.48 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.9248, allocations: 31.95 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.9251, allocations: 163.2 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.9255, allocations: 25.11 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.9257, allocations: 59.78 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.9258, allocations: 67.7 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.9259, allocations: 8 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.961e-05/0.9259, allocations: 12 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.926, allocations: 27.89 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.9261, allocations: 67.67 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.9264, allocations: 129.5 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.9264, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9264, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.9264, allocations: 0 / 1.02 GB, free: 15.91 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001096/0.9275, allocations: 450.8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.9276, allocations: 15.98 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.824e-05/0.9277, allocations: 20.75 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.928, allocations: 204.9 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.9281, allocations: 8.312 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.9281, allocations: 8.375 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.9285, allocations: 115.9 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.9285, allocations: 192 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.9285, allocations: 3.938 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.9285, allocations: 8 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.9289, allocations: 99.86 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.9299, allocations: 468.6 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.9304, allocations: 129.2 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.9306, allocations: 69.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.9306, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.9307, allocations: 30.56 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.9307, allocations: 3.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006867/0.9314, allocations: 173.5 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.9315, allocations: 89.05 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.9317, allocations: 172.1 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.9318, allocations: 25.7 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.9319, allocations: 108 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.9319, allocations: 31.62 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.527e-05/0.932, allocations: 29.7 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.9323, allocations: 326.8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.9324, allocations: 39.97 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.9326, allocations: 57.69 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.9329, allocations: 101.6 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9329, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004221/0.9334, allocations: 145.9 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.9334, allocations: 7.938 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.9334, allocations: 8 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.9334, allocations: 192 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.9336, allocations: 27.92 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.9336, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.9338, allocations: 19.83 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.9338, allocations: 11.92 kB / 1.023 GB, free: 12.7 MB / 0.7794 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 0.0001505/0.934, allocations: 124.9 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.934, allocations: 15.81 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/0.9345, allocations: 154.5 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.9345, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.9346, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.9346, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.935, allocations: 217.5 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.935, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.9351, allocations: 23.98 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.9351, allocations: 0 / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.9352, allocations: 3.984 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.9352, allocations: 7.938 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.9352, allocations: 192 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.9357, allocations: 318.4 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.9358, allocations: 85.02 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.9359, allocations: 4 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.9361, allocations: 11.98 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.9361, allocations: 7.984 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.9361, allocations: 7.938 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001487/0.9363, allocations: 131.5 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9363, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003274/0.9366, allocations: 27.94 kB / 1.024 GB, free: 11.47 MB / 0.7794 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.0001596/0.9368, allocations: 107.2 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.9372, allocations: 99.88 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9372, allocations: 4 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.9374, allocations: 56.22 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.938, allocations: 41.56 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.9387, allocations: 227.5 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.9391, allocations: 0.7083 MB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.945e-05/0.9392, allocations: 12.78 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.9393, allocations: 15.44 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.9393, allocations: 0 / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.006897/0.9462, allocations: 2.102 MB / 1.027 GB, free: 8.102 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches