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.005434/0.005435, allocations: 99 kB / 15.73 MB, free: 6.008 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.001371/0.001371, allocations: 192.2 kB / 16.67 MB, free: 5.938 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.731/2.731, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3433, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.9894/1.333, allocations: 181.8 MB / 1.344 GB, free: 9.047 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007253/1.34, allocations: 4.445 MB / 1.348 GB, free: 5.879 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/1.341, allocations: 20.47 kB / 1.349 GB, free: 5.871 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009921/1.342, allocations: 250.9 kB / 1.349 GB, free: 5.699 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002897/1.345, allocations: 0.7628 MB / 1.349 GB, free: 5.273 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004539/1.35, allocations: 1.514 MB / 1.351 GB, free: 4.527 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002246/1.352, allocations: 1.254 MB / 1.352 GB, free: 3.961 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009996/1.353, allocations: 459.2 kB / 1.353 GB, free: 3.766 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/1.355, allocations: 0.5753 MB / 1.353 GB, free: 3.516 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000991/1.356, allocations: 401.8 kB / 1.354 GB, free: 3.344 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001927/1.356, allocations: 46.56 kB / 1.354 GB, free: 3.344 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003515/1.359, allocations: 1.549 MB / 1.355 GB, free: 2.711 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003148/1.36, allocations: 186.3 kB / 1.355 GB, free: 2.629 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005674/1.36, allocations: 304.8 kB / 1.356 GB, free: 2.457 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/1.363, allocations: 1.312 MB / 1.357 GB, free: 2.012 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/1.363, allocations: 0 / 1.357 GB, free: 2.012 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.803e-06/1.363, allocations: 0 / 1.357 GB, free: 2.012 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.533e-05/1.363, allocations: 0 / 1.357 GB, free: 2.012 MB / 1.029 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.002218/1.365, allocations: 1.04 MB / 1.358 GB, free: 1.227 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/1.365, allocations: 10.09 kB / 1.358 GB, free: 1.227 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/1.367, allocations: 286.5 kB / 1.358 GB, free: 1.168 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008661/1.368, allocations: 475.4 kB / 1.359 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/1.368, allocations: 30.44 kB / 1.359 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/1.369, allocations: 45.53 kB / 1.359 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/1.37, allocations: 0.5453 MB / 1.359 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/1.37, allocations: 1.219 kB / 1.359 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/1.37, allocations: 20.44 kB / 1.359 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/1.37, allocations: 13.84 kB / 1.359 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/1.371, allocations: 458.5 kB / 1.36 GB, free: 412 kB / 1.029 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.00278/1.374, allocations: 2.125 MB / 1.362 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/1.375, allocations: 413.3 kB / 1.362 GB, free: 14.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/1.375, allocations: 223.9 kB / 1.362 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006646/1.376, allocations: 405.4 kB / 1.363 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006178/1.377, allocations: 295.8 kB / 1.363 GB, free: 14.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/1.377, allocations: 3.938 kB / 1.363 GB, free: 14.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=37): time 0.001879/1.378, allocations: 0.6823 MB / 1.364 GB, free: 13.74 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/1.378, allocations: 64.58 kB / 1.364 GB, free: 13.67 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000638/1.379, allocations: 499.2 kB / 1.364 GB, free: 13.37 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-05/1.379, allocations: 38.08 kB / 1.364 GB, free: 13.33 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/1.379, allocations: 260.4 kB / 1.365 GB, free: 13.1 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/1.38, allocations: 123.3 kB / 1.365 GB, free: 13 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/1.38, allocations: 96.75 kB / 1.365 GB, free: 12.93 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.38, allocations: 364.6 kB / 1.365 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/1.38, allocations: 195.3 kB / 1.365 GB, free: 12.49 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005647/1.381, allocations: 318.7 kB / 1.366 GB, free: 12.27 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/1.382, allocations: 0.5454 MB / 1.366 GB, free: 11.89 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.382, allocations: 1.281 kB / 1.366 GB, free: 11.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00135/1.383, allocations: 0.6524 MB / 1.367 GB, free: 11.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/1.383, allocations: 59.88 kB / 1.367 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.383, allocations: 4.281 kB / 1.367 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/1.383, allocations: 6.891 kB / 1.367 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/1.384, allocations: 98.02 kB / 1.367 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/1.384, allocations: 9.766 kB / 1.367 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/1.385, allocations: 82.77 kB / 1.367 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/1.385, allocations: 20.28 kB / 1.367 GB, free: 11.38 MB / 1.045 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.0003291/1.385, allocations: 187.8 kB / 1.367 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/1.385, allocations: 61.08 kB / 1.367 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/1.387, allocations: 0.5417 MB / 1.368 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/1.387, allocations: 4.844 kB / 1.368 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.387, allocations: 0 / 1.368 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/1.387, allocations: 3.984 kB / 1.368 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/1.39, allocations: 1.342 MB / 1.369 GB, free: 9.898 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.39, allocations: 3.719 kB / 1.369 GB, free: 9.898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/1.39, allocations: 86.41 kB / 1.369 GB, free: 9.867 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-05/1.39, allocations: 5.156 kB / 1.369 GB, free: 9.867 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/1.391, allocations: 15.12 kB / 1.369 GB, free: 9.859 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/1.391, allocations: 9.594 kB / 1.369 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/1.391, allocations: 3.562 kB / 1.369 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/1.393, allocations: 0.9335 MB / 1.37 GB, free: 9.234 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/1.393, allocations: 181.1 kB / 1.37 GB, free: 9.07 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/1.393, allocations: 18.86 kB / 1.37 GB, free: 9.059 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/1.394, allocations: 29.84 kB / 1.37 GB, free: 9.047 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.394, allocations: 56.42 kB / 1.37 GB, free: 9.012 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/1.394, allocations: 15 kB / 1.37 GB, free: 9.008 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006058/1.394, allocations: 353.4 kB / 1.371 GB, free: 8.797 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.394, allocations: 0 / 1.371 GB, free: 8.797 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009894/1.395, allocations: 151.9 kB / 1.371 GB, free: 8.773 MB / 1.045 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.0008308/1.396, allocations: 203.9 kB / 1.371 GB, free: 8.633 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001439/1.398, allocations: 0.5844 MB / 1.372 GB, free: 8.289 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.398, allocations: 0 / 1.372 GB, free: 8.289 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007194/1.399, allocations: 296.8 kB / 1.372 GB, free: 8.152 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/1.4, allocations: 286.3 kB / 1.372 GB, free: 8.012 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/1.402, allocations: 1.047 MB / 1.373 GB, free: 7.25 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/1.403, allocations: 0.8647 MB / 1.374 GB, free: 6.469 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005021/1.403, allocations: 131.7 kB / 1.374 GB, free: 6.406 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/1.403, allocations: 45.61 kB / 1.374 GB, free: 6.398 MB / 1.045 GB Notification: Performance of SimCode: time 6.21e-07/1.403, allocations: 0 / 1.374 GB, free: 6.398 MB / 1.045 GB Notification: Performance of Templates: time 0.01853/1.422, allocations: 10.85 MB / 1.385 GB, free: 1.059 MB / 1.045 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