Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 249.9 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 489.7 MB / 0.7761 GB, free: 2.574 MB / 0.6075 GB [Timeout remaining time 87] 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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 1.127 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9961/0.998, allocations: 172 MB / 1.295 GB, free: 38.87 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1889/1.187, allocations: 163.8 MB / 1.455 GB, free: 15.92 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00657/1.193, allocations: 4.595 MB / 1.459 GB, free: 12.67 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000543/1.194, allocations: 13.91 kB / 1.459 GB, free: 12.66 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005421/1.195, allocations: 124.8 kB / 1.459 GB, free: 12.58 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00171/1.196, allocations: 0.5576 MB / 1.46 GB, free: 12.29 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/1.199, allocations: 0.7887 MB / 1.461 GB, free: 11.89 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0009808/1.2, allocations: 0.5723 MB / 1.461 GB, free: 11.64 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/1.2, allocations: 183.1 kB / 1.461 GB, free: 11.57 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/1.202, allocations: 0.6848 MB / 1.462 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006714/1.203, allocations: 301.6 kB / 1.462 GB, free: 11.14 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/1.203, allocations: 17.75 kB / 1.462 GB, free: 11.14 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/1.205, allocations: 1.071 MB / 1.464 GB, free: 10.73 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/1.205, allocations: 93.02 kB / 1.464 GB, free: 10.69 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/1.205, allocations: 126.2 kB / 1.464 GB, free: 10.62 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/1.206, allocations: 0.7203 MB / 1.464 GB, free: 10.38 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.206, allocations: 0.8125 kB / 1.464 GB, free: 10.38 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.864e-06/1.206, allocations: 0 / 1.464 GB, free: 10.38 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.206, allocations: 0 / 1.464 GB, free: 10.38 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00107/1.208, allocations: 0.6061 MB / 1.465 GB, free: 9.859 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.208, allocations: 13.59 kB / 1.465 GB, free: 9.855 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006723/1.208, allocations: 79.91 kB / 1.465 GB, free: 9.832 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/1.209, allocations: 296.8 kB / 1.465 GB, free: 9.582 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/1.209, allocations: 16.12 kB / 1.465 GB, free: 9.574 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/1.209, allocations: 16.62 kB / 1.465 GB, free: 9.57 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/1.209, allocations: 289.1 kB / 1.466 GB, free: 9.406 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.209, allocations: 1.25 kB / 1.466 GB, free: 9.406 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/1.209, allocations: 10.19 kB / 1.466 GB, free: 9.398 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/1.209, allocations: 12.75 kB / 1.466 GB, free: 9.391 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/1.21, allocations: 199 kB / 1.466 GB, free: 9.336 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/1.212, allocations: 1.253 MB / 1.467 GB, free: 8.328 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/1.212, allocations: 169.3 kB / 1.467 GB, free: 8.18 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/1.212, allocations: 113.5 kB / 1.467 GB, free: 8.113 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007985/1.213, allocations: 330.4 kB / 1.468 GB, free: 7.824 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/1.213, allocations: 37.52 kB / 1.468 GB, free: 7.781 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/1.213, allocations: 0 / 1.468 GB, free: 7.781 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0007889/1.214, allocations: 281.8 kB / 1.468 GB, free: 7.672 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.587e-05/1.214, allocations: 161.6 kB / 1.468 GB, free: 7.48 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/1.214, allocations: 281.9 kB / 1.468 GB, free: 7.328 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/1.214, allocations: 32.36 kB / 1.468 GB, free: 7.293 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/1.214, allocations: 155.5 kB / 1.469 GB, free: 7.156 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/1.214, allocations: 45.2 kB / 1.469 GB, free: 7.121 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-05/1.214, allocations: 41.83 kB / 1.469 GB, free: 7.094 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.215, allocations: 340.9 kB / 1.469 GB, free: 6.766 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/1.215, allocations: 66.81 kB / 1.469 GB, free: 6.75 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/1.215, allocations: 146.5 kB / 1.469 GB, free: 6.645 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/1.215, allocations: 214.1 kB / 1.469 GB, free: 6.516 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.215, allocations: 0 / 1.469 GB, free: 6.516 MB / 1.154 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005299/1.216, allocations: 246.6 kB / 1.47 GB, free: 6.414 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.216, allocations: 11.16 kB / 1.47 GB, free: 6.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.216, allocations: 3.25 kB / 1.47 GB, free: 6.41 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.216, allocations: 2.656 kB / 1.47 GB, free: 6.41 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/1.216, allocations: 42.48 kB / 1.47 GB, free: 6.402 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/1.216, allocations: 3.469 kB / 1.47 GB, free: 6.402 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/1.216, allocations: 31.33 kB / 1.47 GB, free: 6.387 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/1.216, allocations: 21.47 kB / 1.47 GB, free: 6.375 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0001617/1.217, allocations: 149.3 kB / 1.47 GB, free: 6.242 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/1.217, allocations: 24.2 kB / 1.47 GB, free: 6.23 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/1.217, allocations: 184.8 kB / 1.47 GB, free: 6.121 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.217, allocations: 2.438 kB / 1.47 GB, free: 6.121 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.217, allocations: 1.922 kB / 1.47 GB, free: 6.121 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/1.217, allocations: 1.859 kB / 1.47 GB, free: 6.121 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/1.218, allocations: 0.8567 MB / 1.471 GB, free: 5.387 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.218, allocations: 5.406 kB / 1.471 GB, free: 5.383 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/1.218, allocations: 25.69 kB / 1.471 GB, free: 5.379 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/1.218, allocations: 6.031 kB / 1.471 GB, free: 5.375 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/1.218, allocations: 7.172 kB / 1.471 GB, free: 5.371 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/1.218, allocations: 6.625 kB / 1.471 GB, free: 5.367 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.218, allocations: 5.984 kB / 1.471 GB, free: 5.363 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005937/1.219, allocations: 336 kB / 1.471 GB, free: 5.129 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/1.219, allocations: 120.7 kB / 1.471 GB, free: 5.008 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/1.219, allocations: 4.656 kB / 1.471 GB, free: 5.008 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/1.219, allocations: 6.594 kB / 1.471 GB, free: 5.008 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/1.219, allocations: 16.08 kB / 1.471 GB, free: 5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/1.219, allocations: 4.078 kB / 1.471 GB, free: 5 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002601/1.22, allocations: 237.6 kB / 1.472 GB, free: 4.875 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.1e-08/1.22, allocations: 3.938 kB / 1.472 GB, free: 4.871 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005605/1.22, allocations: 98.34 kB / 1.472 GB, free: 4.852 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005989/1.221, allocations: 220.8 kB / 1.472 GB, free: 4.727 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004153/1.221, allocations: 145.3 kB / 1.472 GB, free: 4.688 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.221, allocations: 1.281 kB / 1.472 GB, free: 4.688 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/1.221, allocations: 57.47 kB / 1.472 GB, free: 4.672 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/1.222, allocations: 130.6 kB / 1.472 GB, free: 4.637 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009633/1.223, allocations: 0.5379 MB / 1.473 GB, free: 4.246 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/1.224, allocations: 0.7562 MB / 1.474 GB, free: 3.543 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/1.224, allocations: 25.58 kB / 1.474 GB, free: 3.535 MB / 1.154 GB Notification: Performance of SimCode: time 5.11e-07/1.224, allocations: 0 / 1.474 GB, free: 3.535 MB / 1.154 GB Notification: Performance of Templates: time 0.00992/1.234, allocations: 5.268 MB / 1.479 GB, free: 1.113 MB / 1.154 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches