Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001282/0.001282, allocations: 100.5 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.001483/0.001483, allocations: 177.3 kB / 15.94 MB, free: 228 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.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.558/2.558, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.000336, allocations: 15.98 kB / 0.8708 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.66, allocations: 153.6 MB / 1.021 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1647/0.8247, allocations: 151.4 MB / 1.169 GB, free: 9.391 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00597/0.8307, allocations: 4.13 MB / 1.173 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006131/0.8314, allocations: 15.88 kB / 1.173 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009778/0.8324, allocations: 282.7 kB / 1.173 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.8341, allocations: 0.5842 MB / 1.174 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.8368, allocations: 0.9737 MB / 1.174 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.838, allocations: 0.7491 MB / 1.175 GB, free: 2.652 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006315/0.8386, allocations: 356.1 kB / 1.176 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.8401, allocations: 0.6543 MB / 1.176 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000484/0.8406, allocations: 294.8 kB / 1.176 GB, free: 1.355 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.53e-05/0.8407, allocations: 28 kB / 1.176 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.8422, allocations: 0.5851 MB / 1.177 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.8424, allocations: 155.5 kB / 1.177 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.8426, allocations: 137.3 kB / 1.177 GB, free: 460 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009537/0.8436, allocations: 0.6353 MB / 1.178 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.8436, allocations: 0 / 1.178 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8436, allocations: 0 / 1.178 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.8436, allocations: 0 / 1.178 GB, free: 15.81 MB / 0.9356 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.001699/0.8453, allocations: 0.9008 MB / 1.179 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.8454, allocations: 11.98 kB / 1.179 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.8474, allocations: 290.9 kB / 1.179 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007846/0.8482, allocations: 429.8 kB / 1.18 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.8483, allocations: 32.94 kB / 1.18 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/0.8484, allocations: 44 kB / 1.18 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.8494, allocations: 0.5624 MB / 1.18 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.8494, allocations: 0 / 1.18 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/0.8495, allocations: 19.95 kB / 1.18 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.8495, allocations: 8 kB / 1.18 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.8506, allocations: 499.5 kB / 1.181 GB, free: 12.91 MB / 0.9356 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.002644/0.8532, allocations: 2.116 MB / 1.183 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.8543, allocations: 455 kB / 1.183 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/0.8547, allocations: 145 kB / 1.183 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000633/0.8553, allocations: 328.3 kB / 1.184 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 2.244e-06/0.8553, allocations: 0 / 1.184 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001825/0.8572, allocations: 0.7403 MB / 1.184 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.8572, allocations: 89.12 kB / 1.184 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005547/0.8578, allocations: 490.1 kB / 1.185 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.8578, allocations: 37.7 kB / 1.185 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.858, allocations: 264 kB / 1.185 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.8582, allocations: 118.3 kB / 1.185 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.8582, allocations: 8 kB / 1.185 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.8584, allocations: 370.8 kB / 1.186 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/0.8589, allocations: 208.8 kB / 1.186 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/0.8594, allocations: 337.2 kB / 1.186 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.86, allocations: 287.4 kB / 1.186 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.86, allocations: 3.938 kB / 1.186 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00126/0.8613, allocations: 0.6733 MB / 1.187 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.8613, allocations: 71.42 kB / 1.187 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.8613, allocations: 4 kB / 1.187 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.8614, allocations: 7.953 kB / 1.187 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.8618, allocations: 107.8 kB / 1.187 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.8619, allocations: 4 kB / 1.187 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005542/0.8624, allocations: 95.38 kB / 1.187 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.8625, allocations: 23.98 kB / 1.187 GB, free: 5.684 MB / 0.9356 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.0002304/0.8627, allocations: 204.2 kB / 1.188 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.8628, allocations: 55.34 kB / 1.188 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.8639, allocations: 0.5189 MB / 1.188 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.8639, allocations: 4 kB / 1.188 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.8639, allocations: 8.016 kB / 1.188 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.8639, allocations: 7.969 kB / 1.188 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.8662, allocations: 1.465 MB / 1.19 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.8662, allocations: 8 kB / 1.19 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/0.8666, allocations: 84.38 kB / 1.19 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.8666, allocations: 8 kB / 1.19 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.8667, allocations: 16 kB / 1.19 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.8667, allocations: 15.92 kB / 1.19 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.8667, allocations: 4 kB / 1.19 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.8685, allocations: 1.242 MB / 1.191 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.8688, allocations: 172.3 kB / 1.191 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.625e-05/0.8689, allocations: 19.94 kB / 1.191 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004892/0.8694, allocations: 55.95 kB / 1.191 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.8695, allocations: 63.77 kB / 1.191 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.8695, allocations: 12 kB / 1.191 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003964/0.8699, allocations: 346.8 kB / 1.192 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8699, allocations: 0 / 1.192 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005958/0.8705, allocations: 143.8 kB / 1.192 GB, free: 0.9141 MB / 0.9356 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.000412/0.871, allocations: 203.9 kB / 1.192 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.8722, allocations: 0.6127 MB / 1.193 GB, free: 80 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8722, allocations: 448 / 1.193 GB, free: 80 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.8729, allocations: 334 kB / 1.193 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.8742, allocations: 258.5 kB / 1.193 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.876, allocations: 1.267 MB / 1.194 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.8765, allocations: 0.8746 MB / 1.195 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005047/0.877, allocations: 128.7 kB / 1.195 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.8771, allocations: 43.44 kB / 1.195 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.8771, allocations: 0 / 1.195 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of Templates: time 0.01705/0.8942, allocations: 9.819 MB / 1.205 GB, free: 3.406 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches