Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001476/0.001475, 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.001737/0.001737, allocations: 193.4 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.89 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7062/0.7075, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1958/0.9033, allocations: 179.5 MB / 1.192 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006036/0.9094, allocations: 4.486 MB / 1.196 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006416/0.9101, allocations: 19.81 kB / 1.196 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007071/0.9109, allocations: 190.8 kB / 1.197 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.9127, allocations: 0.7156 MB / 1.197 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003567/0.9163, allocations: 1.407 MB / 1.199 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001728/0.9181, allocations: 1.679 MB / 1.2 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005196/0.9186, allocations: 390.1 kB / 1.201 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009752/0.9196, allocations: 0.5213 MB / 1.201 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004925/0.9201, allocations: 418.3 kB / 1.202 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.9202, allocations: 28 kB / 1.202 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/0.9231, allocations: 1.816 MB / 1.203 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.9234, allocations: 175.4 kB / 1.203 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.9237, allocations: 294.5 kB / 1.204 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.9259, allocations: 1.383 MB / 1.205 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9259, allocations: 0 / 1.205 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9259, allocations: 0 / 1.205 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.9259, allocations: 0 / 1.205 GB, free: 1.031 MB / 0.9512 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.001808/0.9277, allocations: 1.021 MB / 1.206 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.9278, allocations: 12.03 kB / 1.206 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.9299, allocations: 287 kB / 1.206 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.9306, allocations: 437.4 kB / 1.207 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.9306, allocations: 37 kB / 1.207 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.9307, allocations: 47.91 kB / 1.207 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.9317, allocations: 0.5507 MB / 1.207 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.9318, allocations: 0 / 1.207 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.9318, allocations: 19.94 kB / 1.207 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.9318, allocations: 15.92 kB / 1.207 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.9329, allocations: 463.5 kB / 1.208 GB, free: 14.03 MB / 0.9669 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.002426/0.9353, allocations: 2.112 MB / 1.21 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.9363, allocations: 410.4 kB / 1.21 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/0.9368, allocations: 220.6 kB / 1.211 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007592/0.9375, allocations: 396.3 kB / 1.211 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007009/0.9382, allocations: 298.9 kB / 1.211 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 3.346e-06/0.9383, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001983/0.9402, allocations: 0.6918 MB / 1.212 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.845e-05/0.9404, allocations: 59.41 kB / 1.212 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/0.941, allocations: 490.1 kB / 1.212 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/0.9411, allocations: 37.7 kB / 1.212 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.9414, allocations: 260 kB / 1.213 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.9415, allocations: 126.3 kB / 1.213 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.9417, allocations: 90.03 kB / 1.213 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.9419, allocations: 366.8 kB / 1.213 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/0.9424, allocations: 196.8 kB / 1.213 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.943, allocations: 320.1 kB / 1.214 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.9442, allocations: 0.5452 MB / 1.214 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9442, allocations: 3.938 kB / 1.214 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001352/0.9456, allocations: 0.6559 MB / 1.215 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.9456, allocations: 63.39 kB / 1.215 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.9456, allocations: 4 kB / 1.215 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.9457, allocations: 4.438 kB / 1.215 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.9461, allocations: 103.9 kB / 1.215 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.9461, allocations: 11.88 kB / 1.215 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005509/0.9467, allocations: 83.39 kB / 1.215 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.9467, allocations: 23.98 kB / 1.215 GB, free: 6.121 MB / 0.9669 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.0002279/0.947, allocations: 193.6 kB / 1.215 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.9471, allocations: 51.44 kB / 1.215 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.9482, allocations: 0.5371 MB / 1.216 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.9483, allocations: 4 kB / 1.216 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.9483, allocations: 0 / 1.216 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.9483, allocations: 0 / 1.216 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.9504, allocations: 1.35 MB / 1.217 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.9505, allocations: 7.938 kB / 1.217 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.9509, allocations: 67.89 kB / 1.217 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.9509, allocations: 8 kB / 1.217 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.9509, allocations: 15.98 kB / 1.217 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.9509, allocations: 8.438 kB / 1.217 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.9509, allocations: 11.94 kB / 1.217 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.9526, allocations: 0.9247 MB / 1.218 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.9528, allocations: 176.3 kB / 1.218 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/0.9529, allocations: 12 kB / 1.219 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.9533, allocations: 48 kB / 1.219 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.9535, allocations: 47.83 kB / 1.219 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.9535, allocations: 19.98 kB / 1.219 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003903/0.9539, allocations: 342.8 kB / 1.219 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9539, allocations: 4 kB / 1.219 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005637/0.9545, allocations: 151.8 kB / 1.219 GB, free: 1.969 MB / 0.9669 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.0004746/0.955, allocations: 201 kB / 1.219 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.9562, allocations: 0.5765 MB / 1.22 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9562, allocations: 0 / 1.22 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.9569, allocations: 297.1 kB / 1.22 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.9582, allocations: 265.6 kB / 1.22 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.9601, allocations: 1.211 MB / 1.222 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.9605, allocations: 0.8629 MB / 1.222 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004936/0.961, allocations: 128.7 kB / 1.223 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.9612, allocations: 47.44 kB / 1.223 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.9612, allocations: 0 / 1.223 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of Templates: time 0.01683/0.978, allocations: 10.2 MB / 1.233 GB, free: 4.242 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches