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.00139/0.00139, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.00162/0.00162, allocations: 192 kB / 16.25 MB, free: 6.633 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.55/1.55, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.464/2.464, allocations: 390.2 MB / 0.6644 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 64.05 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7195/0.7209, allocations: 140.4 MB / 0.9491 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2147/0.9357, allocations: 179.4 MB / 1.124 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007064/0.9428, allocations: 4.43 MB / 1.129 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009034/0.9437, allocations: 23.88 kB / 1.129 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009633/0.9447, allocations: 202.7 kB / 1.129 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002624/0.9474, allocations: 0.7039 MB / 1.13 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.9518, allocations: 1.421 MB / 1.131 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00184/0.9536, allocations: 1.258 MB / 1.132 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000901/0.9546, allocations: 429.3 kB / 1.133 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.9559, allocations: 0.5798 MB / 1.133 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007392/0.9567, allocations: 434.2 kB / 1.134 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.9568, allocations: 48 kB / 1.134 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.9602, allocations: 1.597 MB / 1.135 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.9606, allocations: 191.5 kB / 1.135 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000552/0.9611, allocations: 302.5 kB / 1.136 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003147/0.9643, allocations: 1.395 MB / 1.137 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9643, allocations: 3.938 kB / 1.137 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9643, allocations: 0 / 1.137 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.026e-05/0.9644, allocations: 0 / 1.137 GB, free: 1.074 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.002038/0.9664, allocations: 1.025 MB / 1.138 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.9664, allocations: 8.031 kB / 1.138 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/0.9687, allocations: 286.8 kB / 1.138 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008242/0.9695, allocations: 437.4 kB / 1.139 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.9696, allocations: 33 kB / 1.139 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.22e-05/0.9697, allocations: 44 kB / 1.139 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.9708, allocations: 0.5507 MB / 1.139 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.9708, allocations: 0 / 1.139 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.9708, allocations: 16 kB / 1.139 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.9709, allocations: 19.94 kB / 1.139 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.9719, allocations: 455.5 kB / 1.14 GB, free: 14.09 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.002712/0.9747, allocations: 2.116 MB / 1.142 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009649/0.9756, allocations: 406.4 kB / 1.142 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.9761, allocations: 229.2 kB / 1.142 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000686/0.9768, allocations: 404.1 kB / 1.143 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006451/0.9775, allocations: 290.8 kB / 1.143 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.9775, allocations: 0 / 1.143 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001834/0.9794, allocations: 0.6881 MB / 1.144 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.9794, allocations: 67.14 kB / 1.144 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005948/0.98, allocations: 494.1 kB / 1.144 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.9801, allocations: 37.7 kB / 1.144 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.9803, allocations: 256.1 kB / 1.145 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.9804, allocations: 134.2 kB / 1.145 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.9806, allocations: 82.12 kB / 1.145 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.9808, allocations: 366.8 kB / 1.145 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.9813, allocations: 200.8 kB / 1.145 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/0.9819, allocations: 316 kB / 1.146 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.9829, allocations: 0.5449 MB / 1.146 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.9829, allocations: 0 / 1.146 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001321/0.9842, allocations: 0.6517 MB / 1.147 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.9843, allocations: 63.39 kB / 1.147 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.9843, allocations: 4 kB / 1.147 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.9843, allocations: 7.984 kB / 1.147 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.9848, allocations: 95.88 kB / 1.147 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.9848, allocations: 7.938 kB / 1.147 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.9854, allocations: 87.72 kB / 1.147 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.348e-05/0.9855, allocations: 20 kB / 1.147 GB, free: 6.188 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.000255/0.9858, allocations: 193.6 kB / 1.147 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.9859, allocations: 51.34 kB / 1.147 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.9871, allocations: 0.5384 MB / 1.148 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.9871, allocations: 4 kB / 1.148 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.9871, allocations: 0 / 1.148 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.9871, allocations: 3.984 kB / 1.148 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.9895, allocations: 1.349 MB / 1.149 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.9895, allocations: 11.97 kB / 1.149 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004314/0.99, allocations: 75.88 kB / 1.149 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-06/0.99, allocations: 4 kB / 1.149 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.9901, allocations: 16 kB / 1.149 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.9901, allocations: 4 kB / 1.149 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.9901, allocations: 11.88 kB / 1.149 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.9919, allocations: 0.942 MB / 1.15 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.9922, allocations: 172.3 kB / 1.15 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.9923, allocations: 15.98 kB / 1.15 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005101/0.9928, allocations: 39.95 kB / 1.15 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.993, allocations: 51.89 kB / 1.15 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.993, allocations: 12 kB / 1.15 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004502/0.9935, allocations: 350.8 kB / 1.151 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.9935, allocations: 0 / 1.151 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006796/0.9941, allocations: 151.8 kB / 1.151 GB, free: 2.012 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.0005237/0.9947, allocations: 206.1 kB / 1.151 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.9961, allocations: 0.6002 MB / 1.152 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9961, allocations: 0 / 1.152 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007124/0.9968, allocations: 291.6 kB / 1.152 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.9983, allocations: 292.1 kB / 1.152 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/1.001, allocations: 1.211 MB / 1.153 GB, free: 15.33 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/1.001, allocations: 0.8665 MB / 1.154 GB, free: 14.44 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005908/1.002, allocations: 124.7 kB / 1.154 GB, free: 14.31 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/1.002, allocations: 43.44 kB / 1.154 GB, free: 14.27 MB / 0.92 GB Notification: Performance of SimCode: time 6.01e-07/1.002, allocations: 0 / 1.154 GB, free: 14.27 MB / 0.92 GB Notification: Performance of Templates: time 0.02019/1.022, allocations: 10.6 MB / 1.165 GB, free: 3.844 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