Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009725/0.009725, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.524/2.524, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.793, allocations: 142.4 MB / 0.955 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2059/0.9989, allocations: 177.2 MB / 1.128 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006264/1.005, allocations: 4.429 MB / 1.132 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/1.006, allocations: 19.88 kB / 1.132 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006647/1.006, allocations: 194.7 kB / 1.133 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001928/1.008, allocations: 0.7117 MB / 1.133 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00403/1.012, allocations: 1.406 MB / 1.135 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001939/1.014, allocations: 1.683 MB / 1.136 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005906/1.015, allocations: 369.8 kB / 1.137 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009652/1.016, allocations: 0.5174 MB / 1.137 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/1.017, allocations: 406.3 kB / 1.138 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/1.017, allocations: 24 kB / 1.138 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/1.02, allocations: 1.819 MB / 1.139 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/1.02, allocations: 167.5 kB / 1.14 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003348/1.02, allocations: 308.2 kB / 1.14 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002087/1.022, allocations: 1.375 MB / 1.141 GB, free: 112 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.022, allocations: 0 / 1.141 GB, free: 112 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.505e-06/1.022, allocations: 0 / 1.141 GB, free: 112 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.136e-06/1.022, allocations: 0 / 1.141 GB, free: 112 kB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001722/1.024, allocations: 0.928 MB / 1.142 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.024, allocations: 8.031 kB / 1.142 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/1.026, allocations: 286.9 kB / 1.142 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/1.027, allocations: 445.5 kB / 1.143 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/1.027, allocations: 29 kB / 1.143 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.021e-05/1.027, allocations: 47.98 kB / 1.143 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/1.028, allocations: 0.5663 MB / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.028, allocations: 4 kB / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/1.028, allocations: 23.92 kB / 1.143 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/1.028, allocations: 8 kB / 1.143 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/1.029, allocations: 491.5 kB / 1.144 GB, free: 13.17 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/1.032, allocations: 2.123 MB / 1.146 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/1.033, allocations: 446.3 kB / 1.146 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/1.034, allocations: 237.3 kB / 1.147 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007241/1.034, allocations: 424.1 kB / 1.147 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006684/1.035, allocations: 306.8 kB / 1.147 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 3.456e-06/1.035, allocations: 0 / 1.147 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001983/1.037, allocations: 0.7312 MB / 1.148 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/1.037, allocations: 67.09 kB / 1.148 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005971/1.038, allocations: 498 kB / 1.149 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/1.038, allocations: 33.7 kB / 1.149 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/1.038, allocations: 272 kB / 1.149 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/1.038, allocations: 118.3 kB / 1.149 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/1.038, allocations: 45.7 kB / 1.149 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.038, allocations: 362.8 kB / 1.149 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/1.039, allocations: 212.8 kB / 1.15 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/1.039, allocations: 332.1 kB / 1.15 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/1.04, allocations: 0.5684 MB / 1.15 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/1.041, allocations: 7.938 kB / 1.15 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001317/1.042, allocations: 0.6755 MB / 1.151 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.238e-05/1.042, allocations: 63.41 kB / 1.151 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/1.042, allocations: 8.25 kB / 1.151 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/1.042, allocations: 4 kB / 1.151 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/1.042, allocations: 107.8 kB / 1.151 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.042, allocations: 4.062 kB / 1.151 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/1.043, allocations: 95.38 kB / 1.151 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/1.043, allocations: 24 kB / 1.151 GB, free: 5.07 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002527/1.043, allocations: 198.5 kB / 1.152 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/1.043, allocations: 55.34 kB / 1.152 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/1.045, allocations: 0.558 MB / 1.152 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.045, allocations: 4 kB / 1.152 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.045, allocations: 0 / 1.152 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/1.045, allocations: 3.984 kB / 1.152 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/1.047, allocations: 1.392 MB / 1.154 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/1.047, allocations: 8.375 kB / 1.154 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/1.048, allocations: 87.88 kB / 1.154 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/1.048, allocations: 4 kB / 1.154 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/1.048, allocations: 12 kB / 1.154 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.048, allocations: 4 kB / 1.154 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/1.048, allocations: 4 kB / 1.154 GB, free: 2.621 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/1.049, allocations: 0.9966 MB / 1.155 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/1.05, allocations: 172.3 kB / 1.155 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/1.05, allocations: 8 kB / 1.155 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/1.05, allocations: 59.86 kB / 1.155 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.05, allocations: 55.81 kB / 1.155 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/1.05, allocations: 20 kB / 1.155 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004243/1.051, allocations: 346.8 kB / 1.155 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.051, allocations: 3.938 kB / 1.155 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006031/1.051, allocations: 151.8 kB / 1.155 GB, free: 0.7461 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004729/1.052, allocations: 201.2 kB / 1.156 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001282/1.053, allocations: 0.6121 MB / 1.156 GB, free: 15.91 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.053, allocations: 0 / 1.156 GB, free: 15.91 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007148/1.054, allocations: 304.8 kB / 1.157 GB, free: 15.61 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/1.056, allocations: 280.8 kB / 1.157 GB, free: 15.34 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/1.058, allocations: 1.244 MB / 1.158 GB, free: 14.03 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/1.058, allocations: 0.8707 MB / 1.159 GB, free: 13.13 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005293/1.058, allocations: 132.6 kB / 1.159 GB, free: 13 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/1.059, allocations: 43.44 kB / 1.159 GB, free: 12.95 MB / 0.92 GB Notification: Performance of SimCode: time 5.81e-07/1.059, allocations: 0 / 1.159 GB, free: 12.95 MB / 0.92 GB Notification: Performance of Templates: time 0.01803/1.077, allocations: 10.14 MB / 1.169 GB, free: 2.977 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches