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.001072/0.001072, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001196/0.001196, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.423/2.423, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6742/0.6754, allocations: 140.4 MB / 0.9489 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2105/0.8859, allocations: 179.5 MB / 1.124 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006786/0.8928, allocations: 4.488 MB / 1.129 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008772/0.8937, allocations: 19.88 kB / 1.129 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008262/0.8945, allocations: 190.8 kB / 1.129 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.8967, allocations: 0.7117 MB / 1.13 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004047/0.9008, allocations: 1.401 MB / 1.131 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001886/0.9027, allocations: 1.679 MB / 1.133 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000578/0.9033, allocations: 386.2 kB / 1.133 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.9043, allocations: 0.5214 MB / 1.133 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.9048, allocations: 422.2 kB / 1.134 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.263e-05/0.9049, allocations: 32 kB / 1.134 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.9081, allocations: 1.808 MB / 1.136 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.9084, allocations: 175.5 kB / 1.136 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.9088, allocations: 294.5 kB / 1.136 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.911, allocations: 1.383 MB / 1.137 GB, free: 448 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.911, allocations: 0 / 1.137 GB, free: 448 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9111, allocations: 0 / 1.137 GB, free: 448 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.9111, allocations: 0 / 1.137 GB, free: 448 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.001873/0.913, allocations: 1.015 MB / 1.138 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.913, allocations: 12.03 kB / 1.138 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.9152, allocations: 290.9 kB / 1.139 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008026/0.916, allocations: 441.4 kB / 1.139 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.916, allocations: 29 kB / 1.139 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.24e-05/0.9161, allocations: 44 kB / 1.139 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.9172, allocations: 0.5507 MB / 1.14 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.9172, allocations: 3.938 kB / 1.14 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.9173, allocations: 16 kB / 1.14 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.9173, allocations: 19.94 kB / 1.14 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.9184, allocations: 455.6 kB / 1.14 GB, free: 13.46 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.002622/0.921, allocations: 2.127 MB / 1.142 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009849/0.922, allocations: 402.5 kB / 1.143 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/0.9225, allocations: 233.2 kB / 1.143 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007324/0.9232, allocations: 400.2 kB / 1.143 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006387/0.9239, allocations: 294.8 kB / 1.144 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 3.316e-06/0.9239, allocations: 0 / 1.144 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001834/0.9258, allocations: 0.6881 MB / 1.144 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.9258, allocations: 59.16 kB / 1.144 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000615/0.9264, allocations: 498.1 kB / 1.145 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.9265, allocations: 33.7 kB / 1.145 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.9267, allocations: 264.1 kB / 1.145 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.9268, allocations: 122.2 kB / 1.145 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.927, allocations: 90.12 kB / 1.145 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.9271, allocations: 362.8 kB / 1.146 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/0.9276, allocations: 196.8 kB / 1.146 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005543/0.9282, allocations: 320.1 kB / 1.146 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009874/0.9292, allocations: 0.541 MB / 1.147 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9292, allocations: 0 / 1.147 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001299/0.9305, allocations: 0.6481 MB / 1.147 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/0.9306, allocations: 68.64 kB / 1.147 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.9306, allocations: 4 kB / 1.147 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.9306, allocations: 4 kB / 1.147 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.9311, allocations: 95.88 kB / 1.147 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.9311, allocations: 7.938 kB / 1.147 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005818/0.9317, allocations: 79.73 kB / 1.147 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.9318, allocations: 23.98 kB / 1.148 GB, free: 5.562 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.000305/0.9321, allocations: 197.6 kB / 1.148 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.9322, allocations: 51.34 kB / 1.148 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.9334, allocations: 0.5344 MB / 1.148 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.9334, allocations: 4 kB / 1.148 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9334, allocations: 0 / 1.148 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.9334, allocations: 0 / 1.148 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.9358, allocations: 1.362 MB / 1.15 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.9358, allocations: 11.97 kB / 1.15 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.9363, allocations: 75.89 kB / 1.15 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.9363, allocations: 4 kB / 1.15 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.9363, allocations: 19.92 kB / 1.15 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.9363, allocations: 4 kB / 1.15 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.9364, allocations: 7.938 kB / 1.15 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.9381, allocations: 0.9366 MB / 1.151 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.9384, allocations: 176.3 kB / 1.151 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.764e-05/0.9385, allocations: 12 kB / 1.151 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.939, allocations: 39.94 kB / 1.151 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.9391, allocations: 55.89 kB / 1.151 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.9391, allocations: 12 kB / 1.151 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004066/0.9396, allocations: 350.8 kB / 1.151 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9396, allocations: 0 / 1.151 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005924/0.9402, allocations: 151.8 kB / 1.151 GB, free: 1.375 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.0004372/0.9406, allocations: 207.3 kB / 1.152 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.9418, allocations: 0.5825 MB / 1.152 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9418, allocations: 0 / 1.152 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006879/0.9425, allocations: 287.6 kB / 1.152 GB, free: 288 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.9439, allocations: 275.9 kB / 1.153 GB, free: 16 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.9458, allocations: 1.215 MB / 1.154 GB, free: 14.73 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.9462, allocations: 0.8668 MB / 1.155 GB, free: 13.84 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005303/0.9468, allocations: 132.6 kB / 1.155 GB, free: 13.71 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.9469, allocations: 43.44 kB / 1.155 GB, free: 13.66 MB / 0.92 GB Notification: Performance of SimCode: time 3.3e-07/0.9469, allocations: 0 / 1.155 GB, free: 13.66 MB / 0.92 GB Notification: Performance of Templates: time 0.01724/0.9642, allocations: 10.18 MB / 1.165 GB, free: 3.648 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