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.0008425/0.0008425, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0009267/0.0009269, allocations: 172.7 kB / 15.95 MB, free: 208 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.425/1.425, allocations: 223.3 MB / 240 MB, free: 5.344 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.525/2.525, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 16 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7521/0.7525, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2097/0.9623, allocations: 165.3 MB / 1.116 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006744/0.9691, allocations: 4.202 MB / 1.12 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005592/0.9697, allocations: 15.88 kB / 1.12 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.9703, allocations: 170.8 kB / 1.12 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.9719, allocations: 0.5751 MB / 1.121 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.9751, allocations: 1.064 MB / 1.122 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001575/0.9767, allocations: 1.445 MB / 1.123 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/0.9772, allocations: 337.5 kB / 1.123 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008766/0.9781, allocations: 0.5213 MB / 1.124 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004452/0.9785, allocations: 386.4 kB / 1.124 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.843e-05/0.9786, allocations: 24 kB / 1.124 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.9804, allocations: 0.7872 MB / 1.125 GB, free: 272 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.9806, allocations: 171.5 kB / 1.125 GB, free: 100 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.9808, allocations: 133.5 kB / 1.125 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009106/0.9817, allocations: 0.7599 MB / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9817, allocations: 0 / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9817, allocations: 0 / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.9817, allocations: 0 / 1.126 GB, free: 15.2 MB / 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.00152/0.9832, allocations: 0.9319 MB / 1.127 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.9833, allocations: 8.031 kB / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.9852, allocations: 278.9 kB / 1.127 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006681/0.9859, allocations: 441.8 kB / 1.128 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.9859, allocations: 29 kB / 1.128 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.986, allocations: 55.88 kB / 1.128 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009641/0.987, allocations: 0.5546 MB / 1.128 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.987, allocations: 0 / 1.128 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.987, allocations: 23.98 kB / 1.128 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.9871, allocations: 12 kB / 1.128 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009772/0.988, allocations: 483.6 kB / 1.129 GB, free: 12.28 MB / 0.8887 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.00233/0.9904, allocations: 2.135 MB / 1.131 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008961/0.9913, allocations: 422.5 kB / 1.131 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.9918, allocations: 253.2 kB / 1.132 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006393/0.9924, allocations: 408.2 kB / 1.132 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000587/0.993, allocations: 314.9 kB / 1.132 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/0.993, allocations: 4 kB / 1.132 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37): time 0.001679/0.9947, allocations: 0.7272 MB / 1.133 GB, free: 7.809 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.9948, allocations: 63.09 kB / 1.133 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.9953, allocations: 490.1 kB / 1.134 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.9954, allocations: 37.7 kB / 1.134 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.9956, allocations: 264 kB / 1.134 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/0.9957, allocations: 118.3 kB / 1.134 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.9957, allocations: 12 kB / 1.134 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.9959, allocations: 370.7 kB / 1.134 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.9963, allocations: 212.8 kB / 1.135 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/0.9969, allocations: 332.1 kB / 1.135 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.9974, allocations: 295.2 kB / 1.135 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.9974, allocations: 4 kB / 1.135 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001208/0.9986, allocations: 0.6793 MB / 1.136 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.163e-05/0.9987, allocations: 63.39 kB / 1.136 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.9987, allocations: 4 kB / 1.136 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.9987, allocations: 4 kB / 1.136 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.9992, allocations: 112.1 kB / 1.136 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.9992, allocations: 4 kB / 1.136 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.9997, allocations: 91.39 kB / 1.136 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.9998, allocations: 27.98 kB / 1.136 GB, free: 4.555 MB / 0.8887 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 ($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.0002258/1, allocations: 193.9 kB / 1.136 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/1, allocations: 55.34 kB / 1.136 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/1.001, allocations: 0.5646 MB / 1.137 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.001, allocations: 4 kB / 1.137 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.001, allocations: 0 / 1.137 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.001, allocations: 0 / 1.137 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/1.004, allocations: 1.388 MB / 1.138 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.004, allocations: 7.938 kB / 1.138 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/1.004, allocations: 79.83 kB / 1.138 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/1.004, allocations: 8.438 kB / 1.138 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/1.004, allocations: 15.98 kB / 1.138 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/1.004, allocations: 8 kB / 1.138 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.004, allocations: 4 kB / 1.138 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/1.006, allocations: 0.977 MB / 1.139 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/1.006, allocations: 184.2 kB / 1.139 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/1.006, allocations: 12 kB / 1.139 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/1.006, allocations: 56 kB / 1.14 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/1.006, allocations: 47.89 kB / 1.14 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/1.007, allocations: 16 kB / 1.14 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004196/1.007, allocations: 334.8 kB / 1.14 GB, free: 424 kB / 0.8887 GB Notification: Performance of sort global known variables: time 2.31e-07/1.007, allocations: 0 / 1.14 GB, free: 424 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006427/1.008, allocations: 159.8 kB / 1.14 GB, free: 264 kB / 0.8887 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 (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.0005086/1.008, allocations: 204.5 kB / 1.14 GB, free: 52 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001192/1.009, allocations: 0.6059 MB / 1.141 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.009, allocations: 4 kB / 1.141 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006521/1.01, allocations: 300.8 kB / 1.141 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/1.011, allocations: 277.6 kB / 1.141 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/1.013, allocations: 1.223 MB / 1.143 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/1.014, allocations: 0.8668 MB / 1.143 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005263/1.014, allocations: 132.7 kB / 1.144 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/1.014, allocations: 39.44 kB / 1.144 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of SimCode: time 5e-07/1.014, allocations: 0 / 1.144 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.01991/1.034, allocations: 9.825 MB / 1.153 GB, free: 2.844 MB / 0.9044 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