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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007893/0.007893, allocations: 101 kB / 15.73 MB, free: 6.043 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.00176/0.00176, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.891/2.891, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.12 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3209, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.9529/1.274, allocations: 181.8 MB / 1.385 GB, free: 6.402 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007086/1.281, allocations: 4.439 MB / 1.39 GB, free: 2.797 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008852/1.282, allocations: 20.78 kB / 1.39 GB, free: 2.789 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008018/1.283, allocations: 256.8 kB / 1.39 GB, free: 2.562 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001989/1.285, allocations: 0.7602 MB / 1.391 GB, free: 1.965 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/1.288, allocations: 1.519 MB / 1.392 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00166/1.29, allocations: 1.252 MB / 1.393 GB, free: 136 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006735/1.291, allocations: 456.8 kB / 1.394 GB, free: 15.86 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/1.292, allocations: 0.5832 MB / 1.394 GB, free: 15.52 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/1.292, allocations: 406.4 kB / 1.395 GB, free: 15.28 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 8.641e-05/1.292, allocations: 49.38 kB / 1.395 GB, free: 15.27 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/1.295, allocations: 1.545 MB / 1.396 GB, free: 14.39 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/1.295, allocations: 186.9 kB / 1.396 GB, free: 14.27 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003175/1.296, allocations: 304.1 kB / 1.397 GB, free: 14.07 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/1.298, allocations: 1.303 MB / 1.398 GB, free: 13.29 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.298, allocations: 4.875 kB / 1.398 GB, free: 13.29 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.453e-06/1.298, allocations: 0 / 1.398 GB, free: 13.29 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.618e-06/1.298, allocations: 0 / 1.398 GB, free: 13.29 MB / 1.092 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.001776/1.299, allocations: 1.017 MB / 1.399 GB, free: 12.44 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.3, allocations: 10 kB / 1.399 GB, free: 12.44 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/1.302, allocations: 284.7 kB / 1.399 GB, free: 12.31 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000805/1.302, allocations: 466.9 kB / 1.4 GB, free: 11.92 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/1.302, allocations: 31.94 kB / 1.4 GB, free: 11.91 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.622e-05/1.303, allocations: 48.72 kB / 1.4 GB, free: 11.89 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/1.304, allocations: 0.5469 MB / 1.4 GB, free: 11.53 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/1.304, allocations: 5.062 kB / 1.4 GB, free: 11.52 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/1.304, allocations: 15.84 kB / 1.4 GB, free: 11.51 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/1.304, allocations: 14.88 kB / 1.4 GB, free: 11.51 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/1.305, allocations: 456 kB / 1.401 GB, free: 11.3 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.002693/1.308, allocations: 2.12 MB / 1.403 GB, free: 9.445 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009147/1.309, allocations: 407.2 kB / 1.403 GB, free: 9.242 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000449/1.309, allocations: 230.4 kB / 1.403 GB, free: 9.133 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006399/1.31, allocations: 399.7 kB / 1.404 GB, free: 8.723 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005727/1.31, allocations: 297 kB / 1.404 GB, free: 8.535 MB / 1.092 GB Notification: Performance of pre-optimization done (n=37): time 5.21e-06/1.31, allocations: 0 / 1.404 GB, free: 8.535 MB / 1.092 GB Notification: Performance of matching and sorting (n=37): time 0.001683/1.312, allocations: 0.6844 MB / 1.405 GB, free: 8.207 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/1.312, allocations: 65 kB / 1.405 GB, free: 8.137 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/1.313, allocations: 498.1 kB / 1.405 GB, free: 7.836 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/1.313, allocations: 38.33 kB / 1.405 GB, free: 7.797 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/1.313, allocations: 259.5 kB / 1.406 GB, free: 7.566 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/1.313, allocations: 118.7 kB / 1.406 GB, free: 7.465 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/1.313, allocations: 93.56 kB / 1.406 GB, free: 7.406 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.313, allocations: 372 kB / 1.406 GB, free: 7.047 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/1.314, allocations: 191.4 kB / 1.406 GB, free: 6.961 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005367/1.314, allocations: 319 kB / 1.407 GB, free: 6.738 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009676/1.315, allocations: 0.5411 MB / 1.407 GB, free: 6.359 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.315, allocations: 5.312 kB / 1.407 GB, free: 6.355 MB / 1.092 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001293/1.317, allocations: 0.6534 MB / 1.408 GB, free: 5.988 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/1.317, allocations: 58.78 kB / 1.408 GB, free: 5.926 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.317, allocations: 2.688 kB / 1.408 GB, free: 5.926 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.317, allocations: 5.406 kB / 1.408 GB, free: 5.926 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/1.317, allocations: 99.09 kB / 1.408 GB, free: 5.898 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/1.317, allocations: 12.33 kB / 1.408 GB, free: 5.891 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/1.318, allocations: 78.05 kB / 1.408 GB, free: 5.844 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/1.318, allocations: 21.56 kB / 1.408 GB, free: 5.84 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.0002236/1.318, allocations: 186.1 kB / 1.408 GB, free: 5.68 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/1.318, allocations: 63.19 kB / 1.408 GB, free: 5.645 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/1.319, allocations: 0.5348 MB / 1.409 GB, free: 5.34 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.319, allocations: 2.156 kB / 1.409 GB, free: 5.34 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.319, allocations: 2.906 kB / 1.409 GB, free: 5.34 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/1.319, allocations: 0 / 1.409 GB, free: 5.34 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/1.321, allocations: 1.35 MB / 1.41 GB, free: 4.363 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.321, allocations: 2.375 kB / 1.41 GB, free: 4.363 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/1.322, allocations: 81.84 kB / 1.41 GB, free: 4.336 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/1.322, allocations: 5.344 kB / 1.41 GB, free: 4.336 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/1.322, allocations: 12 kB / 1.41 GB, free: 4.332 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/1.322, allocations: 9.281 kB / 1.41 GB, free: 4.328 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.322, allocations: 2.656 kB / 1.41 GB, free: 4.328 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/1.323, allocations: 0.9318 MB / 1.411 GB, free: 3.711 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/1.324, allocations: 173.5 kB / 1.411 GB, free: 3.551 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/1.324, allocations: 19.17 kB / 1.411 GB, free: 3.539 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/1.324, allocations: 30.72 kB / 1.411 GB, free: 3.527 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.324, allocations: 61.64 kB / 1.412 GB, free: 3.488 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/1.324, allocations: 13.41 kB / 1.412 GB, free: 3.484 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003688/1.325, allocations: 351 kB / 1.412 GB, free: 3.277 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.9e-07/1.325, allocations: 0 / 1.412 GB, free: 3.277 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005624/1.325, allocations: 152.4 kB / 1.412 GB, free: 3.25 MB / 1.092 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.0004314/1.326, allocations: 202.4 kB / 1.412 GB, free: 3.113 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001129/1.327, allocations: 0.5871 MB / 1.413 GB, free: 2.77 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.327, allocations: 4.188 kB / 1.413 GB, free: 2.766 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006184/1.328, allocations: 287.3 kB / 1.413 GB, free: 2.637 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.329, allocations: 285.8 kB / 1.413 GB, free: 2.492 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/1.331, allocations: 1.04 MB / 1.414 GB, free: 1.746 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/1.331, allocations: 0.8685 MB / 1.415 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004118/1.331, allocations: 132.4 kB / 1.415 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/1.332, allocations: 39.81 kB / 1.415 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of SimCode: time 2.51e-07/1.332, allocations: 0 / 1.415 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of Templates: time 0.01917/1.351, allocations: 10.84 MB / 1.426 GB, free: 6.965 MB / 1.107 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