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.001495/0.001495, allocations: 114.9 kB / 16.42 MB, free: 6.012 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.001857/0.001857, allocations: 183.2 kB / 17.35 MB, free: 5.629 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.443/2.443, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 68.11 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7422/0.7435, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1792/0.9228, allocations: 181.8 MB / 1.345 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006107/0.9289, allocations: 4.45 MB / 1.349 GB, free: 8.867 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007114/0.9297, allocations: 19.88 kB / 1.349 GB, free: 8.848 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007968/0.9305, allocations: 250.1 kB / 1.349 GB, free: 8.602 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.9327, allocations: 0.797 MB / 1.35 GB, free: 7.801 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.9365, allocations: 1.545 MB / 1.352 GB, free: 6.254 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001606/0.9381, allocations: 1.266 MB / 1.353 GB, free: 4.984 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000744/0.9388, allocations: 451.3 kB / 1.353 GB, free: 4.539 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.94, allocations: 0.5877 MB / 1.354 GB, free: 3.949 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006448/0.9406, allocations: 410.3 kB / 1.354 GB, free: 3.547 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.9408, allocations: 44 kB / 1.354 GB, free: 3.504 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.9434, allocations: 1.559 MB / 1.356 GB, free: 1.941 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.9436, allocations: 183.4 kB / 1.356 GB, free: 1.762 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003908/0.944, allocations: 310.5 kB / 1.356 GB, free: 1.457 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.9463, allocations: 1.297 MB / 1.358 GB, free: 160 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9463, allocations: 0 / 1.358 GB, free: 160 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9463, allocations: 3.938 kB / 1.358 GB, free: 156 kB / 1.076 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.9464, allocations: 0 / 1.358 GB, free: 156 kB / 1.076 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.002076/0.9484, allocations: 1.021 MB / 1.359 GB, free: 15.07 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.9485, allocations: 8.922 kB / 1.359 GB, free: 15.06 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.9506, allocations: 286.9 kB / 1.359 GB, free: 14.78 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008549/0.9515, allocations: 469.4 kB / 1.359 GB, free: 14.28 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.9515, allocations: 33 kB / 1.359 GB, free: 14.25 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.517e-05/0.9516, allocations: 40 kB / 1.359 GB, free: 14.21 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.9527, allocations: 0.5468 MB / 1.36 GB, free: 13.63 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.9527, allocations: 0 / 1.36 GB, free: 13.63 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.9527, allocations: 16 kB / 1.36 GB, free: 13.61 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.9528, allocations: 15.94 kB / 1.36 GB, free: 13.6 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.9538, allocations: 459.5 kB / 1.36 GB, free: 13.15 MB / 1.092 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.002533/0.9564, allocations: 2.119 MB / 1.363 GB, free: 10.9 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009734/0.9574, allocations: 414.3 kB / 1.363 GB, free: 10.48 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.9579, allocations: 233.2 kB / 1.363 GB, free: 10.25 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/0.9585, allocations: 396.3 kB / 1.364 GB, free: 9.793 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000605/0.9591, allocations: 300.2 kB / 1.364 GB, free: 9.488 MB / 1.092 GB Notification: Performance of pre-optimization done (n=37): time 2.525e-06/0.9592, allocations: 0 / 1.364 GB, free: 9.488 MB / 1.092 GB Notification: Performance of matching and sorting (n=37): time 0.001792/0.961, allocations: 0.6843 MB / 1.364 GB, free: 8.797 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.961, allocations: 55.41 kB / 1.365 GB, free: 8.73 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/0.9616, allocations: 0.4903 MB / 1.365 GB, free: 8.227 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.9616, allocations: 33.7 kB / 1.365 GB, free: 8.188 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.9618, allocations: 264.1 kB / 1.365 GB, free: 7.926 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.9619, allocations: 118.3 kB / 1.365 GB, free: 7.809 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.9621, allocations: 94.03 kB / 1.366 GB, free: 7.711 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.9622, allocations: 358.8 kB / 1.366 GB, free: 7.352 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.9627, allocations: 204.8 kB / 1.366 GB, free: 7.152 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.9633, allocations: 320 kB / 1.366 GB, free: 6.805 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.9643, allocations: 0.541 MB / 1.367 GB, free: 6.211 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.9643, allocations: 4 kB / 1.367 GB, free: 6.207 MB / 1.092 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001309/0.9656, allocations: 0.6444 MB / 1.368 GB, free: 5.543 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/0.9657, allocations: 67.39 kB / 1.368 GB, free: 5.465 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.9657, allocations: 0 / 1.368 GB, free: 5.465 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.9657, allocations: 8 kB / 1.368 GB, free: 5.457 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.9662, allocations: 95.81 kB / 1.368 GB, free: 5.363 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.9663, allocations: 8 kB / 1.368 GB, free: 5.355 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.9668, allocations: 83.56 kB / 1.368 GB, free: 5.273 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.9669, allocations: 24 kB / 1.368 GB, free: 5.25 MB / 1.092 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.0002366/0.9671, allocations: 186.9 kB / 1.368 GB, free: 5.059 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.9672, allocations: 63.2 kB / 1.368 GB, free: 4.996 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.9685, allocations: 0.5265 MB / 1.369 GB, free: 4.465 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.9685, allocations: 7.969 kB / 1.369 GB, free: 4.457 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9685, allocations: 4 kB / 1.369 GB, free: 4.453 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.9687, allocations: 164.3 kB / 1.369 GB, free: 4.273 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.9688, allocations: 12 kB / 1.369 GB, free: 4.262 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.9693, allocations: 28.03 kB / 1.369 GB, free: 4.234 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.9694, allocations: 47.94 kB / 1.369 GB, free: 4.188 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001528/0.9709, allocations: 0.5781 MB / 1.369 GB, free: 3.602 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001645/0.9726, allocations: 0.912 MB / 1.37 GB, free: 2.672 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004681/0.9731, allocations: 220.2 kB / 1.37 GB, free: 2.457 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003935/0.9735, allocations: 350.8 kB / 1.371 GB, free: 2.117 MB / 1.092 GB Notification: Performance of Backend: time 1.924e-06/0.9735, allocations: 0 / 1.371 GB, free: 2.117 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.9756, allocations: 0.8126 MB / 1.372 GB, free: 1.281 MB / 1.092 GB Notification: Performance of SimCode: time 0.002262/0.9778, allocations: 1.506 MB / 1.373 GB, free: 15.73 MB / 1.107 GB Notification: Performance of Templates: time 0.02447/1.002, allocations: 15.05 MB / 1.388 GB, free: 0.8242 MB / 1.107 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches