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) 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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 107.8 kB / 16.37 MB, free: 6.477 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.001297/0.001297, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.48/1.48, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.536/2.536, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 58.66 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3226, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.9056/1.228, allocations: 163.2 MB / 1.186 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006543/1.235, allocations: 4.569 MB / 1.191 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006747/1.236, allocations: 10.16 kB / 1.191 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006315/1.236, allocations: 129 kB / 1.191 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/1.238, allocations: 0.536 MB / 1.191 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00245/1.241, allocations: 0.774 MB / 1.192 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008956/1.242, allocations: 0.5796 MB / 1.193 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004107/1.242, allocations: 206.2 kB / 1.193 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/1.243, allocations: 469.8 kB / 1.193 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006555/1.244, allocations: 288.5 kB / 1.194 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/1.244, allocations: 15.44 kB / 1.194 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/1.246, allocations: 1.002 MB / 1.194 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/1.246, allocations: 90.56 kB / 1.195 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/1.246, allocations: 128.8 kB / 1.195 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/1.248, allocations: 0.7161 MB / 1.195 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.248, allocations: 0 / 1.195 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.573e-06/1.248, allocations: 0 / 1.195 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.337e-05/1.248, allocations: 0 / 1.195 GB, free: 10.13 MB / 0.9044 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.0009859/1.249, allocations: 0.589 MB / 1.196 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/1.249, allocations: 9.625 kB / 1.196 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006849/1.249, allocations: 74.09 kB / 1.196 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/1.25, allocations: 312.7 kB / 1.196 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/1.25, allocations: 12.25 kB / 1.196 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/1.25, allocations: 21.75 kB / 1.196 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/1.25, allocations: 283.1 kB / 1.197 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.25, allocations: 1.469 kB / 1.197 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/1.25, allocations: 5.281 kB / 1.197 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.25, allocations: 10.06 kB / 1.197 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/1.251, allocations: 211.6 kB / 1.197 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/1.253, allocations: 1.234 MB / 1.198 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/1.253, allocations: 175.8 kB / 1.198 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/1.253, allocations: 112 kB / 1.198 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000779/1.254, allocations: 340.7 kB / 1.199 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/1.254, allocations: 32.91 kB / 1.199 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/1.254, allocations: 4 kB / 1.199 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0007596/1.255, allocations: 283 kB / 1.199 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.308e-05/1.255, allocations: 160.7 kB / 1.199 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/1.255, allocations: 290.3 kB / 1.199 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/1.255, allocations: 31.11 kB / 1.199 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/1.255, allocations: 144.6 kB / 1.2 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/1.255, allocations: 48.98 kB / 1.2 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.85e-05/1.255, allocations: 43.02 kB / 1.2 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.256, allocations: 335.8 kB / 1.2 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/1.256, allocations: 68.78 kB / 1.2 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/1.256, allocations: 150.6 kB / 1.2 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/1.256, allocations: 211 kB / 1.2 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.256, allocations: 0 / 1.2 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005342/1.257, allocations: 247.7 kB / 1.201 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.257, allocations: 7.375 kB / 1.201 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.257, allocations: 2.656 kB / 1.201 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.257, allocations: 2.688 kB / 1.201 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/1.257, allocations: 41.22 kB / 1.201 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.257, allocations: 6.375 kB / 1.201 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/1.257, allocations: 30.73 kB / 1.201 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/1.257, allocations: 10.59 kB / 1.201 GB, free: 5.605 MB / 0.9044 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.0001711/1.258, allocations: 150.1 kB / 1.201 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/1.258, allocations: 25.09 kB / 1.201 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/1.258, allocations: 192.6 kB / 1.201 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.258, allocations: 2.719 kB / 1.201 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/1.258, allocations: 2.562 kB / 1.201 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.258, allocations: 0 / 1.201 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/1.259, allocations: 0.8449 MB / 1.202 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.259, allocations: 3.219 kB / 1.202 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/1.259, allocations: 29.64 kB / 1.202 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/1.259, allocations: 3.938 kB / 1.202 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/1.259, allocations: 11.34 kB / 1.202 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/1.259, allocations: 2.469 kB / 1.202 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.259, allocations: 6.406 kB / 1.202 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/1.26, allocations: 336.3 kB / 1.202 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/1.26, allocations: 115 kB / 1.202 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/1.26, allocations: 11.38 kB / 1.202 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/1.26, allocations: 10 kB / 1.202 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/1.26, allocations: 12.17 kB / 1.202 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/1.26, allocations: 9.531 kB / 1.202 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002216/1.261, allocations: 236.6 kB / 1.203 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.261, allocations: 0 / 1.203 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004872/1.261, allocations: 91.89 kB / 1.203 GB, free: 3.906 MB / 0.9044 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.000534/1.262, allocations: 218.2 kB / 1.203 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003829/1.262, allocations: 150.7 kB / 1.203 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.262, allocations: 6.875 kB / 1.203 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/1.262, allocations: 61.22 kB / 1.203 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/1.263, allocations: 148 kB / 1.203 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007927/1.264, allocations: 494.5 kB / 1.204 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/1.264, allocations: 0.7679 MB / 1.205 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001739/1.264, allocations: 60.81 kB / 1.205 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/1.264, allocations: 27.31 kB / 1.205 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/1.264, allocations: 0 / 1.205 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of Templates: time 0.01234/1.277, allocations: 5.806 MB / 1.21 GB, free: 15.54 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) 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) Reference file matches