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.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: 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.01026/0.01026, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.002628/0.002628, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.506/1.506, allocations: 222.9 MB / 240.5 MB, free: 4.543 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.948/2.948, allocations: 437 MB / 0.7106 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 67.91 kB / 0.8692 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8784/0.88, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00838/0.8885, allocations: 1.886 MB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000633/0.8892, allocations: 119.6 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.8894, allocations: 3.938 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.8897, allocations: 7.922 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.89, allocations: 51.62 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.8903, allocations: 27.97 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.8907, allocations: 163.1 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.8909, allocations: 25.11 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.8911, allocations: 51.78 kB / 1.02 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.8913, allocations: 63.77 kB / 1.02 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.8e-05/0.8914, allocations: 4 kB / 1.02 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.743e-05/0.8914, allocations: 4 kB / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.8916, allocations: 27.84 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.8917, allocations: 59.72 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.8919, allocations: 77.8 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.8919, allocations: 4 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8919, allocations: 0 / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.892, allocations: 0 / 1.02 GB, free: 192 kB / 0.7637 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.00137/0.8934, allocations: 462.8 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 8.16e-05/0.8934, allocations: 15.98 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/0.8935, allocations: 12.75 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.894, allocations: 204 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.8941, allocations: 4.375 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.8941, allocations: 8.375 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.8946, allocations: 127.8 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.8946, allocations: 192 / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.8947, allocations: 3.938 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.8947, allocations: 3.984 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004748/0.8952, allocations: 95.88 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.8965, allocations: 480.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.8971, allocations: 133.2 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.8974, allocations: 61.78 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.8975, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.8975, allocations: 34.56 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.8975, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0009857/0.8985, allocations: 181.4 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.8986, allocations: 77.11 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.8989, allocations: 166.4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.899, allocations: 29.7 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.8991, allocations: 108 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.8992, allocations: 35.55 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.953e-05/0.8993, allocations: 21.72 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002372/0.8995, allocations: 326.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.8998, allocations: 39.97 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.9, allocations: 61.61 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.9005, allocations: 101.7 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9005, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006586/0.9011, allocations: 149.7 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.9012, allocations: 4 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.9012, allocations: 0 / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.9012, allocations: 4 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.9015, allocations: 31.97 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.9015, allocations: 0 / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.9017, allocations: 11.94 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.9017, allocations: 7.922 kB / 1.023 GB, free: 12.97 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.0001818/0.9019, allocations: 123.8 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.45e-05/0.902, allocations: 15.81 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006369/0.9027, allocations: 158.5 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.9027, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.9027, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.9027, allocations: 7.922 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.9033, allocations: 225.6 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.9033, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.9035, allocations: 19.98 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.9035, allocations: 8.188 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.9036, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.9036, allocations: 3.938 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9036, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.9043, allocations: 318.5 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.9044, allocations: 89.02 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.9045, allocations: 0 / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.9048, allocations: 11.98 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.9049, allocations: 8.219 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.9049, allocations: 7.938 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001841/0.9051, allocations: 125.8 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9051, allocations: 4 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004711/0.9056, allocations: 27.94 kB / 1.024 GB, free: 11.75 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.0002195/0.9058, allocations: 107.2 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005582/0.9064, allocations: 104.1 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.9064, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.9067, allocations: 60.08 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009223/0.9076, allocations: 36.08 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009897/0.9086, allocations: 298.8 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/0.9094, allocations: 0.7048 MB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.463e-05/0.9095, allocations: 11.44 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of SimCode: time 7.51e-07/0.9095, allocations: 0 / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of Templates: time 0.007244/0.9167, allocations: 1.747 MB / 1.027 GB, free: 8.648 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches