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.009248/0.009248, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.001786/0.001786, allocations: 190.8 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.612/2.612, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 64.12 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9842/0.9863, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1955/1.182, allocations: 181.8 MB / 1.385 GB, free: 7.156 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005966/1.188, allocations: 4.457 MB / 1.39 GB, free: 2.691 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005145/1.188, allocations: 19.88 kB / 1.39 GB, free: 2.672 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006301/1.189, allocations: 246.1 kB / 1.39 GB, free: 2.43 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/1.191, allocations: 0.758 MB / 1.391 GB, free: 1.668 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003966/1.195, allocations: 1.518 MB / 1.392 GB, free: 152 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001666/1.196, allocations: 1.25 MB / 1.393 GB, free: 14.89 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006028/1.197, allocations: 455.2 kB / 1.394 GB, free: 14.45 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000878/1.198, allocations: 0.5838 MB / 1.394 GB, free: 13.86 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004987/1.199, allocations: 410.2 kB / 1.395 GB, free: 13.46 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.701e-05/1.199, allocations: 48 kB / 1.395 GB, free: 13.41 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/1.201, allocations: 1.539 MB / 1.396 GB, free: 11.87 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001899/1.201, allocations: 187.4 kB / 1.396 GB, free: 11.68 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002911/1.202, allocations: 306.5 kB / 1.397 GB, free: 11.38 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/1.204, allocations: 1.297 MB / 1.398 GB, free: 10.08 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.204, allocations: 0 / 1.398 GB, free: 10.08 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.713e-06/1.204, allocations: 4 kB / 1.398 GB, free: 10.08 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.204, allocations: 0 / 1.398 GB, free: 10.08 MB / 1.123 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.001719/1.205, allocations: 1.021 MB / 1.399 GB, free: 8.996 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/1.205, allocations: 8.031 kB / 1.399 GB, free: 8.988 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/1.207, allocations: 290.8 kB / 1.399 GB, free: 8.703 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007949/1.208, allocations: 473.4 kB / 1.4 GB, free: 8.199 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/1.208, allocations: 33 kB / 1.4 GB, free: 8.168 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.732e-05/1.208, allocations: 40 kB / 1.4 GB, free: 8.129 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/1.209, allocations: 0.5468 MB / 1.4 GB, free: 7.551 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/1.209, allocations: 3.938 kB / 1.4 GB, free: 7.547 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/1.209, allocations: 19.98 kB / 1.4 GB, free: 7.527 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/1.209, allocations: 15.94 kB / 1.4 GB, free: 7.512 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/1.21, allocations: 455.6 kB / 1.401 GB, free: 7.066 MB / 1.123 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.00249/1.213, allocations: 2.116 MB / 1.403 GB, free: 4.82 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009699/1.214, allocations: 406.4 kB / 1.403 GB, free: 4.414 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005136/1.214, allocations: 236.6 kB / 1.403 GB, free: 4.18 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006852/1.215, allocations: 396.3 kB / 1.404 GB, free: 3.719 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006361/1.216, allocations: 290.8 kB / 1.404 GB, free: 3.422 MB / 1.123 GB Notification: Performance of pre-optimization done (n=37): time 1.864e-06/1.216, allocations: 0 / 1.404 GB, free: 3.422 MB / 1.123 GB Notification: Performance of matching and sorting (n=37): time 0.001827/1.218, allocations: 0.6861 MB / 1.405 GB, free: 2.73 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/1.218, allocations: 55.41 kB / 1.405 GB, free: 2.664 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005717/1.218, allocations: 0.4902 MB / 1.405 GB, free: 2.16 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/1.218, allocations: 41.7 kB / 1.405 GB, free: 2.113 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/1.218, allocations: 256.1 kB / 1.406 GB, free: 1.859 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/1.219, allocations: 122.3 kB / 1.406 GB, free: 1.738 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/1.219, allocations: 94.03 kB / 1.406 GB, free: 1.641 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.219, allocations: 370.7 kB / 1.406 GB, free: 1.27 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/1.219, allocations: 196.8 kB / 1.406 GB, free: 1.078 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/1.22, allocations: 316.1 kB / 1.407 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/1.221, allocations: 0.5409 MB / 1.407 GB, free: 140 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.221, allocations: 8 kB / 1.407 GB, free: 132 kB / 1.123 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001337/1.222, allocations: 0.656 MB / 1.408 GB, free: 15.45 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/1.223, allocations: 59.41 kB / 1.408 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.223, allocations: 0 / 1.408 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/1.223, allocations: 8 kB / 1.408 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/1.223, allocations: 95.88 kB / 1.408 GB, free: 15.28 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/1.223, allocations: 12 kB / 1.408 GB, free: 15.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/1.224, allocations: 83.48 kB / 1.408 GB, free: 15.19 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/1.224, allocations: 23.98 kB / 1.408 GB, free: 15.16 MB / 1.139 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.0002312/1.224, allocations: 193.6 kB / 1.408 GB, free: 14.96 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/1.224, allocations: 51.34 kB / 1.408 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/1.225, allocations: 0.5331 MB / 1.409 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/1.225, allocations: 4 kB / 1.409 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.225, allocations: 0 / 1.409 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/1.225, allocations: 0 / 1.409 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/1.228, allocations: 1.344 MB / 1.41 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/1.228, allocations: 7.938 kB / 1.41 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/1.228, allocations: 79.83 kB / 1.41 GB, free: 12.83 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-06/1.228, allocations: 4 kB / 1.41 GB, free: 12.82 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/1.228, allocations: 16.42 kB / 1.41 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/1.228, allocations: 8 kB / 1.41 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.228, allocations: 4 kB / 1.41 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/1.23, allocations: 0.9313 MB / 1.411 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/1.23, allocations: 176.3 kB / 1.411 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.101e-05/1.23, allocations: 16 kB / 1.411 GB, free: 11.6 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/1.231, allocations: 39.95 kB / 1.411 GB, free: 11.56 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.231, allocations: 51.83 kB / 1.411 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/1.231, allocations: 19.98 kB / 1.412 GB, free: 11.49 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004224/1.231, allocations: 342.8 kB / 1.412 GB, free: 11.16 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.7e-07/1.231, allocations: 0 / 1.412 GB, free: 11.16 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005892/1.232, allocations: 155.8 kB / 1.412 GB, free: 11 MB / 1.139 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.000439/1.233, allocations: 210.2 kB / 1.412 GB, free: 10.8 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001205/1.234, allocations: 0.5807 MB / 1.413 GB, free: 10.2 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.234, allocations: 0 / 1.413 GB, free: 10.2 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006963/1.234, allocations: 289 kB / 1.413 GB, free: 9.914 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.236, allocations: 282 kB / 1.413 GB, free: 9.645 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/1.238, allocations: 1.038 MB / 1.414 GB, free: 8.539 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/1.238, allocations: 0.8704 MB / 1.415 GB, free: 7.641 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004248/1.239, allocations: 128.7 kB / 1.415 GB, free: 7.512 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/1.239, allocations: 43.44 kB / 1.415 GB, free: 7.469 MB / 1.139 GB Notification: Performance of SimCode: time 4.6e-07/1.239, allocations: 0 / 1.415 GB, free: 7.469 MB / 1.139 GB Notification: Performance of Templates: time 0.01974/1.259, allocations: 11.06 MB / 1.426 GB, free: 12.57 MB / 1.154 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