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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00716/0.00716, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001477/0.001477, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.885/2.885, allocations: 472.6 MB / 0.7452 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.83 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3571, allocations: 159.9 MB / 1.226 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.9926/1.35, allocations: 181.8 MB / 1.403 GB, free: 1.043 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007006/1.357, allocations: 4.456 MB / 1.407 GB, free: 13.42 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008089/1.358, allocations: 20.19 kB / 1.407 GB, free: 13.41 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008373/1.359, allocations: 244.3 kB / 1.408 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002216/1.361, allocations: 0.7652 MB / 1.408 GB, free: 12.59 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004529/1.365, allocations: 1.518 MB / 1.41 GB, free: 11.48 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001729/1.367, allocations: 1.25 MB / 1.411 GB, free: 10.76 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006668/1.368, allocations: 447.8 kB / 1.412 GB, free: 10.49 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/1.369, allocations: 0.5792 MB / 1.412 GB, free: 10.15 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005486/1.369, allocations: 403 kB / 1.413 GB, free: 9.914 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 8.55e-05/1.37, allocations: 44.28 kB / 1.413 GB, free: 9.914 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/1.372, allocations: 1.549 MB / 1.414 GB, free: 9.031 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/1.373, allocations: 187.1 kB / 1.414 GB, free: 8.902 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003189/1.373, allocations: 299.9 kB / 1.415 GB, free: 8.715 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/1.375, allocations: 1.311 MB / 1.416 GB, free: 7.926 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.375, allocations: 1.062 kB / 1.416 GB, free: 7.926 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.172e-06/1.375, allocations: 4 kB / 1.416 GB, free: 7.922 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.889e-06/1.375, allocations: 0 / 1.416 GB, free: 7.922 MB / 1.107 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.001723/1.377, allocations: 1.039 MB / 1.417 GB, free: 7.059 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.377, allocations: 8.844 kB / 1.417 GB, free: 7.059 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/1.379, allocations: 285.1 kB / 1.417 GB, free: 6.93 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007646/1.38, allocations: 478.7 kB / 1.418 GB, free: 6.527 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/1.38, allocations: 31.34 kB / 1.418 GB, free: 6.512 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.169e-05/1.38, allocations: 47.25 kB / 1.418 GB, free: 6.496 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/1.381, allocations: 0.5466 MB / 1.418 GB, free: 6.133 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/1.381, allocations: 2.75 kB / 1.418 GB, free: 6.133 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/1.381, allocations: 14.53 kB / 1.418 GB, free: 6.121 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/1.381, allocations: 14.56 kB / 1.418 GB, free: 6.117 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/1.382, allocations: 460.7 kB / 1.419 GB, free: 5.902 MB / 1.107 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.002471/1.384, allocations: 2.124 MB / 1.421 GB, free: 4.047 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/1.385, allocations: 409 kB / 1.421 GB, free: 3.84 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/1.386, allocations: 228.2 kB / 1.421 GB, free: 3.73 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006703/1.387, allocations: 400.6 kB / 1.422 GB, free: 3.32 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006031/1.387, allocations: 292.7 kB / 1.422 GB, free: 3.137 MB / 1.107 GB Notification: Performance of pre-optimization done (n=37): time 1.783e-06/1.387, allocations: 0 / 1.422 GB, free: 3.137 MB / 1.107 GB Notification: Performance of matching and sorting (n=37): time 0.001715/1.389, allocations: 0.6904 MB / 1.423 GB, free: 2.805 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/1.389, allocations: 56.16 kB / 1.423 GB, free: 2.742 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/1.39, allocations: 498.3 kB / 1.423 GB, free: 2.441 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/1.39, allocations: 42.52 kB / 1.423 GB, free: 2.398 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/1.39, allocations: 259.8 kB / 1.424 GB, free: 2.168 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/1.39, allocations: 126.6 kB / 1.424 GB, free: 2.059 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/1.39, allocations: 93.48 kB / 1.424 GB, free: 2 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.39, allocations: 363.5 kB / 1.424 GB, free: 1.648 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/1.391, allocations: 196.3 kB / 1.424 GB, free: 1.555 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/1.391, allocations: 324.2 kB / 1.425 GB, free: 1.328 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009651/1.392, allocations: 0.5321 MB / 1.425 GB, free: 0.957 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.392, allocations: 6.469 kB / 1.425 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001258/1.394, allocations: 0.6592 MB / 1.426 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/1.394, allocations: 63.92 kB / 1.426 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.394, allocations: 3.688 kB / 1.426 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.394, allocations: 5.281 kB / 1.426 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/1.394, allocations: 94.41 kB / 1.426 GB, free: 500 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/1.394, allocations: 9.469 kB / 1.426 GB, free: 496 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/1.395, allocations: 80.55 kB / 1.426 GB, free: 444 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/1.395, allocations: 22.66 kB / 1.426 GB, free: 440 kB / 1.107 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.0002134/1.395, allocations: 190.7 kB / 1.426 GB, free: 276 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/1.395, allocations: 61.66 kB / 1.426 GB, free: 240 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/1.396, allocations: 0.5397 MB / 1.427 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.396, allocations: 2.219 kB / 1.427 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.396, allocations: 6.781 kB / 1.427 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/1.396, allocations: 7.109 kB / 1.427 GB, free: 15.92 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/1.399, allocations: 1.347 MB / 1.428 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.399, allocations: 4 kB / 1.428 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/1.399, allocations: 75.83 kB / 1.428 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.399, allocations: 4.438 kB / 1.428 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/1.399, allocations: 8 kB / 1.428 GB, free: 14.4 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/1.399, allocations: 19.92 kB / 1.428 GB, free: 14.38 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.399, allocations: 4 kB / 1.428 GB, free: 14.38 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/1.401, allocations: 0.9369 MB / 1.429 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/1.401, allocations: 180.5 kB / 1.429 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.323e-05/1.401, allocations: 16 kB / 1.429 GB, free: 13.17 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/1.401, allocations: 36.02 kB / 1.429 GB, free: 13.13 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/1.402, allocations: 47.83 kB / 1.429 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/1.402, allocations: 16 kB / 1.429 GB, free: 13.07 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004213/1.402, allocations: 350.8 kB / 1.43 GB, free: 12.73 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.01e-07/1.402, allocations: 4 kB / 1.43 GB, free: 12.73 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005743/1.403, allocations: 143.9 kB / 1.43 GB, free: 12.59 MB / 1.123 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.0004591/1.403, allocations: 213.6 kB / 1.43 GB, free: 12.38 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001185/1.404, allocations: 0.5844 MB / 1.431 GB, free: 11.77 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.404, allocations: 4 kB / 1.431 GB, free: 11.77 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006511/1.405, allocations: 289.3 kB / 1.431 GB, free: 11.49 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.406, allocations: 291.3 kB / 1.431 GB, free: 11.21 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/1.408, allocations: 1.041 MB / 1.432 GB, free: 10.1 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/1.409, allocations: 0.8743 MB / 1.433 GB, free: 9.199 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004099/1.409, allocations: 124.7 kB / 1.433 GB, free: 9.078 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/1.409, allocations: 39.44 kB / 1.433 GB, free: 9.039 MB / 1.123 GB Notification: Performance of SimCode: time 8.01e-07/1.409, allocations: 0 / 1.433 GB, free: 9.039 MB / 1.123 GB Notification: Performance of Templates: time 0.0196/1.429, allocations: 10.84 MB / 1.444 GB, free: 14.35 MB / 1.139 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches