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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: 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_latest_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_latest_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.00089/0.00089, allocations: 92.16 kB / 16.02 MB, free: 80 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.001145/0.001145, allocations: 173 kB / 16.92 MB, free: 6.652 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.521/1.521, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.039/3.039, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003993, allocations: 10.59 kB / 0.9034 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4173, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002137/0.4194, allocations: 1.54 MB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002944/0.4198, allocations: 127.5 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.673e-05/0.4199, allocations: 4 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.42, allocations: 11.86 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.4201, allocations: 43.61 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.4202, allocations: 31.97 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.4205, allocations: 163.1 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.4206, allocations: 21.11 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.4207, allocations: 51.78 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.4208, allocations: 55.77 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.4208, allocations: 4 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.434e-05/0.4209, allocations: 8 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.4209, allocations: 23.91 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.08e-05/0.421, allocations: 85.36 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.4211, allocations: 84.02 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4212, allocations: 0 / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4212, allocations: 0 / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.4212, allocations: 0 / 1.061 GB, free: 2.738 MB / 0.8106 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.0007869/0.422, allocations: 447 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.422, allocations: 11.97 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.4221, allocations: 20.73 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.4223, allocations: 204 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.4224, allocations: 8.375 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.4224, allocations: 4.375 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.4227, allocations: 119.9 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4227, allocations: 4.172 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.4228, allocations: 7.938 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4228, allocations: 4 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.4231, allocations: 107.9 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007452/0.4239, allocations: 492.6 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.4242, allocations: 133.2 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.4244, allocations: 65.78 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.4245, allocations: 3.938 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.4245, allocations: 42.56 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.4245, allocations: 0 / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.000612/0.4251, allocations: 201.6 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.4252, allocations: 77.11 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.4254, allocations: 171.9 kB / 1.064 GB, free: 448 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4254, allocations: 25.7 kB / 1.064 GB, free: 416 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.4255, allocations: 112 kB / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.4255, allocations: 35.61 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.4256, allocations: 13.72 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4257, allocations: 334.8 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.4259, allocations: 43.97 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.426, allocations: 65.69 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.4264, allocations: 121.6 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4264, allocations: 4 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003718/0.4267, allocations: 161.7 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4268, allocations: 8 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4268, allocations: 8.172 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4268, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.427, allocations: 27.92 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.427, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.4271, allocations: 15.98 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.4271, allocations: 7.938 kB / 1.064 GB, free: 15.43 MB / 0.8262 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.0001014/0.4272, allocations: 123.8 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.4273, allocations: 15.81 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.4277, allocations: 174.5 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4278, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4278, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4278, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.4281, allocations: 225.5 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4281, allocations: 0 / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.4282, allocations: 27.92 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4282, allocations: 0 / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.4283, allocations: 11.94 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4283, allocations: 4 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4283, allocations: 0 / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.4287, allocations: 330.5 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.4288, allocations: 89 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.4288, allocations: 0 / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.429, allocations: 15.98 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.429, allocations: 4 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.4291, allocations: 12.11 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.432e-05/0.4292, allocations: 132.2 kB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4292, allocations: 0 / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002847/0.4294, allocations: 28 kB / 1.066 GB, free: 14.16 MB / 0.8262 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.0001205/0.4296, allocations: 95.25 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.4299, allocations: 123.9 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.43, allocations: 0 / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.4301, allocations: 63.91 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.4306, allocations: 40 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.4312, allocations: 301.7 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.4315, allocations: 0.7009 MB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.4315, allocations: 15.44 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.4315, allocations: 0 / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of Templates: time 0.003369/0.4349, allocations: 1.742 MB / 1.069 GB, free: 11.04 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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