Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 200.2 kB / 22.18 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.756/2.756, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.89 kB / 1.109 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9872/0.9892, allocations: 168.7 MB / 1.274 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2104/1.2, allocations: 163.9 MB / 1.434 GB, free: 15.94 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0065/1.206, allocations: 4.615 MB / 1.439 GB, free: 11.31 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004292/1.206, allocations: 11.94 kB / 1.439 GB, free: 11.3 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00051/1.207, allocations: 131.1 kB / 1.439 GB, free: 11.17 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/1.208, allocations: 0.564 MB / 1.439 GB, free: 10.61 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/1.211, allocations: 0.7823 MB / 1.44 GB, free: 9.824 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008031/1.211, allocations: 0.5846 MB / 1.441 GB, free: 9.234 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/1.212, allocations: 173.2 kB / 1.441 GB, free: 9.066 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/1.213, allocations: 474.2 kB / 1.441 GB, free: 8.602 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006533/1.213, allocations: 313.7 kB / 1.442 GB, free: 8.297 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/1.213, allocations: 16 kB / 1.442 GB, free: 8.281 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/1.215, allocations: 1.072 MB / 1.443 GB, free: 7.207 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/1.215, allocations: 95.7 kB / 1.443 GB, free: 7.113 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/1.216, allocations: 127.3 kB / 1.443 GB, free: 6.988 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/1.217, allocations: 0.7126 MB / 1.444 GB, free: 6.273 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.217, allocations: 4 kB / 1.444 GB, free: 6.27 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.583e-06/1.217, allocations: 0 / 1.444 GB, free: 6.27 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.655e-06/1.217, allocations: 4 kB / 1.444 GB, free: 6.266 MB / 1.139 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.001116/1.218, allocations: 0.609 MB / 1.444 GB, free: 5.609 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/1.218, allocations: 8.031 kB / 1.444 GB, free: 5.602 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007094/1.219, allocations: 79.69 kB / 1.444 GB, free: 5.523 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/1.219, allocations: 299.5 kB / 1.445 GB, free: 5.191 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/1.219, allocations: 12 kB / 1.445 GB, free: 5.18 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/1.219, allocations: 24 kB / 1.445 GB, free: 5.156 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/1.22, allocations: 287.4 kB / 1.445 GB, free: 4.848 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.22, allocations: 0 / 1.445 GB, free: 4.848 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/1.22, allocations: 4 kB / 1.445 GB, free: 4.844 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/1.22, allocations: 11.94 kB / 1.445 GB, free: 4.832 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/1.22, allocations: 207.7 kB / 1.445 GB, free: 4.629 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/1.222, allocations: 1.249 MB / 1.446 GB, free: 3.301 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/1.223, allocations: 169 kB / 1.446 GB, free: 3.09 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/1.223, allocations: 108.2 kB / 1.447 GB, free: 2.969 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008316/1.224, allocations: 331.2 kB / 1.447 GB, free: 2.59 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/1.224, allocations: 38.69 kB / 1.447 GB, free: 2.543 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/1.224, allocations: 0 / 1.447 GB, free: 2.543 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0008403/1.225, allocations: 277.6 kB / 1.447 GB, free: 2.266 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.225, allocations: 166.1 kB / 1.447 GB, free: 2.066 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/1.225, allocations: 287 kB / 1.448 GB, free: 1.777 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/1.225, allocations: 25.7 kB / 1.448 GB, free: 1.746 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/1.225, allocations: 148 kB / 1.448 GB, free: 1.598 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/1.225, allocations: 51.58 kB / 1.448 GB, free: 1.547 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.71e-05/1.225, allocations: 45.83 kB / 1.448 GB, free: 1.496 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.225, allocations: 338.8 kB / 1.448 GB, free: 1.156 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/1.226, allocations: 67.94 kB / 1.448 GB, free: 1.09 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/1.226, allocations: 154.7 kB / 1.448 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/1.226, allocations: 211.5 kB / 1.449 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.226, allocations: 0 / 1.449 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005516/1.227, allocations: 245.4 kB / 1.449 GB, free: 440 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.227, allocations: 8.062 kB / 1.449 GB, free: 432 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.227, allocations: 4 kB / 1.449 GB, free: 428 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.227, allocations: 0 / 1.449 GB, free: 428 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/1.227, allocations: 43.91 kB / 1.449 GB, free: 384 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1.227, allocations: 0 / 1.449 GB, free: 384 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/1.227, allocations: 35.77 kB / 1.449 GB, free: 348 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/1.227, allocations: 15.88 kB / 1.449 GB, free: 332 kB / 1.139 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.0001723/1.228, allocations: 161.7 kB / 1.449 GB, free: 160 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/1.228, allocations: 27.81 kB / 1.449 GB, free: 132 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005195/1.228, allocations: 185.9 kB / 1.449 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/1.228, allocations: 7.984 kB / 1.449 GB, free: 15.92 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.228, allocations: 0 / 1.449 GB, free: 15.92 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.228, allocations: 0 / 1.449 GB, free: 15.92 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/1.229, allocations: 0.8588 MB / 1.45 GB, free: 14.99 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.229, allocations: 0 / 1.45 GB, free: 14.99 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/1.23, allocations: 32.05 kB / 1.45 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.23, allocations: 3.938 kB / 1.45 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.23, allocations: 4 kB / 1.45 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.23, allocations: 0 / 1.45 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.23, allocations: 4 kB / 1.45 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006268/1.23, allocations: 335.7 kB / 1.45 GB, free: 14.59 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/1.23, allocations: 124.9 kB / 1.451 GB, free: 14.45 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/1.23, allocations: 0 / 1.451 GB, free: 14.45 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/1.231, allocations: 12 kB / 1.451 GB, free: 14.43 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/1.231, allocations: 7.984 kB / 1.451 GB, free: 14.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/1.231, allocations: 4.094 kB / 1.451 GB, free: 14.42 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002732/1.231, allocations: 241.9 kB / 1.451 GB, free: 14.19 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.231, allocations: 0 / 1.451 GB, free: 14.19 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004991/1.231, allocations: 103.8 kB / 1.451 GB, free: 14.09 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.0005778/1.232, allocations: 215.3 kB / 1.451 GB, free: 13.88 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004533/1.232, allocations: 159.8 kB / 1.451 GB, free: 13.72 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.232, allocations: 3.938 kB / 1.451 GB, free: 13.71 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/1.233, allocations: 55.91 kB / 1.451 GB, free: 13.66 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/1.233, allocations: 133.3 kB / 1.451 GB, free: 13.53 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009756/1.234, allocations: 0.4955 MB / 1.452 GB, free: 13 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/1.235, allocations: 0.7558 MB / 1.453 GB, free: 12.21 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001905/1.235, allocations: 75 kB / 1.453 GB, free: 12.14 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.303e-05/1.235, allocations: 23.44 kB / 1.453 GB, free: 12.11 MB / 1.154 GB Notification: Performance of SimCode: time 5.61e-07/1.235, allocations: 0 / 1.453 GB, free: 12.11 MB / 1.154 GB Notification: Performance of Templates: time 0.01221/1.247, allocations: 5.886 MB / 1.459 GB, free: 6.289 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.714062211103737]