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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001206/0.001206, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001244/0.001244, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.508/2.508, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004159, allocations: 12 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6968, allocations: 142.3 MB / 0.9535 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1786/0.8754, allocations: 151.4 MB / 1.101 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005493/0.8809, allocations: 4.119 MB / 1.105 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004648/0.8814, allocations: 19.81 kB / 1.105 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008689/0.8823, allocations: 282.7 kB / 1.106 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.8838, allocations: 0.5803 MB / 1.106 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.8863, allocations: 0.9837 MB / 1.107 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.8875, allocations: 0.7412 MB / 1.108 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005482/0.8881, allocations: 364 kB / 1.108 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.8894, allocations: 0.6582 MB / 1.109 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.8897, allocations: 278.8 kB / 1.109 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.8898, allocations: 28 kB / 1.109 GB, free: 492 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.8911, allocations: 0.589 MB / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.8913, allocations: 163.5 kB / 1.11 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.8914, allocations: 129.4 kB / 1.11 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000746/0.8922, allocations: 0.6391 MB / 1.111 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.8922, allocations: 0 / 1.111 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8922, allocations: 4 kB / 1.111 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.8922, allocations: 0 / 1.111 GB, free: 14.95 MB / 0.8731 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.001459/0.8937, allocations: 0.8891 MB / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.8937, allocations: 8.031 kB / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.8957, allocations: 295 kB / 1.112 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007057/0.8964, allocations: 433.8 kB / 1.112 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.8964, allocations: 37 kB / 1.112 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/0.8965, allocations: 43.91 kB / 1.112 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009432/0.8975, allocations: 0.5585 MB / 1.113 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.8975, allocations: 0 / 1.113 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.8976, allocations: 23.94 kB / 1.113 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.8976, allocations: 12 kB / 1.113 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.8986, allocations: 487.5 kB / 1.113 GB, free: 12.06 MB / 0.8731 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.002458/0.9011, allocations: 2.135 MB / 1.115 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000968/0.902, allocations: 439.1 kB / 1.116 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003985/0.9025, allocations: 141.6 kB / 1.116 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006307/0.9031, allocations: 341 kB / 1.116 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/0.9031, allocations: 0 / 1.116 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37): time 0.001817/0.9049, allocations: 0.7392 MB / 1.117 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.905, allocations: 85.11 kB / 1.117 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.9055, allocations: 482.1 kB / 1.118 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.9056, allocations: 37.7 kB / 1.118 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.9058, allocations: 268 kB / 1.118 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.9059, allocations: 126.3 kB / 1.118 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.9059, allocations: 8 kB / 1.118 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.9061, allocations: 366.7 kB / 1.118 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.9066, allocations: 208.8 kB / 1.119 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.9071, allocations: 337.2 kB / 1.119 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/0.9077, allocations: 291.4 kB / 1.119 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.9077, allocations: 0 / 1.119 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001275/0.909, allocations: 0.6849 MB / 1.12 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.909, allocations: 60.66 kB / 1.12 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.909, allocations: 0 / 1.12 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.9091, allocations: 8 kB / 1.12 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.9095, allocations: 108.1 kB / 1.12 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.9096, allocations: 8 kB / 1.12 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.9102, allocations: 95.38 kB / 1.12 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.9102, allocations: 24 kB / 1.12 GB, free: 4.836 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002475/0.9105, allocations: 192 kB / 1.12 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.9106, allocations: 55.34 kB / 1.12 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.9116, allocations: 0.5331 MB / 1.121 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.9117, allocations: 4 kB / 1.121 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.9117, allocations: 0 / 1.121 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.9117, allocations: 8 kB / 1.121 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.9141, allocations: 1.469 MB / 1.122 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.9141, allocations: 4.062 kB / 1.122 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.9146, allocations: 87.89 kB / 1.122 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.9146, allocations: 7.938 kB / 1.122 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.9146, allocations: 19.92 kB / 1.122 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.495e-06/0.9147, allocations: 11.94 kB / 1.122 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/0.9147, allocations: 4 kB / 1.122 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.9166, allocations: 1.243 MB / 1.124 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.9169, allocations: 172.3 kB / 1.124 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-05/0.917, allocations: 16 kB / 1.124 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.9175, allocations: 55.95 kB / 1.124 GB, free: 0.6133 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.9176, allocations: 51.83 kB / 1.124 GB, free: 0.5625 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.9176, allocations: 23.98 kB / 1.124 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004012/0.918, allocations: 334.8 kB / 1.124 GB, free: 220 kB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.918, allocations: 0 / 1.124 GB, free: 220 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005922/0.9186, allocations: 163.8 kB / 1.124 GB, free: 56 kB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005034/0.9192, allocations: 186 kB / 1.125 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.9204, allocations: 0.6166 MB / 1.125 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9204, allocations: 3.938 kB / 1.125 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007103/0.9211, allocations: 328.9 kB / 1.126 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.9224, allocations: 284.8 kB / 1.126 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.9243, allocations: 1.244 MB / 1.127 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.9248, allocations: 0.8824 MB / 1.128 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005289/0.9253, allocations: 132.6 kB / 1.128 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.9255, allocations: 39.44 kB / 1.128 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of SimCode: time 5.92e-07/0.9255, allocations: 4 kB / 1.128 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of Templates: time 0.01659/0.9421, allocations: 9.821 MB / 1.138 GB, free: 2.562 MB / 0.8887 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","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches