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.001298/0.001298, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001406/0.001406, allocations: 191.6 kB / 22.17 MB, free: 5.652 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.432/1.432, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.806/2.806, allocations: 476.7 MB / 0.7645 GB, free: 10.08 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.002744/0.002744, allocations: 71.88 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.02, allocations: 168.7 MB / 1.274 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2461/1.266, allocations: 163.9 MB / 1.434 GB, free: 15.9 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009226/1.275, allocations: 4.616 MB / 1.439 GB, free: 11.27 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005401/1.276, allocations: 11.94 kB / 1.439 GB, free: 11.26 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006479/1.276, allocations: 127.1 kB / 1.439 GB, free: 11.14 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00209/1.278, allocations: 0.564 MB / 1.439 GB, free: 10.57 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002932/1.281, allocations: 0.7893 MB / 1.44 GB, free: 9.781 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001169/1.283, allocations: 0.5768 MB / 1.441 GB, free: 9.199 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005047/1.283, allocations: 173.1 kB / 1.441 GB, free: 9.031 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/1.285, allocations: 474.2 kB / 1.441 GB, free: 8.566 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008518/1.285, allocations: 313.7 kB / 1.442 GB, free: 8.262 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.952e-05/1.285, allocations: 16 kB / 1.442 GB, free: 8.246 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/1.288, allocations: 1.072 MB / 1.443 GB, free: 7.172 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/1.288, allocations: 95.7 kB / 1.443 GB, free: 7.078 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/1.289, allocations: 123.4 kB / 1.443 GB, free: 6.957 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001772/1.29, allocations: 0.7127 MB / 1.444 GB, free: 6.242 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/1.29, allocations: 4 kB / 1.444 GB, free: 6.238 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.794e-06/1.29, allocations: 0 / 1.444 GB, free: 6.238 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.825e-06/1.29, allocations: 4 kB / 1.444 GB, free: 6.234 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.001377/1.292, allocations: 0.6066 MB / 1.444 GB, free: 5.578 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/1.292, allocations: 11.97 kB / 1.444 GB, free: 5.566 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009634/1.293, allocations: 79.69 kB / 1.444 GB, free: 5.488 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/1.293, allocations: 295.5 kB / 1.445 GB, free: 5.16 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/1.293, allocations: 12 kB / 1.445 GB, free: 5.148 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/1.293, allocations: 24 kB / 1.445 GB, free: 5.125 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/1.294, allocations: 291.4 kB / 1.445 GB, free: 4.812 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/1.294, allocations: 0 / 1.445 GB, free: 4.812 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/1.294, allocations: 4 kB / 1.445 GB, free: 4.809 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/1.294, allocations: 11.94 kB / 1.445 GB, free: 4.797 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/1.295, allocations: 203.7 kB / 1.445 GB, free: 4.598 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/1.297, allocations: 1.249 MB / 1.446 GB, free: 3.27 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/1.298, allocations: 169 kB / 1.446 GB, free: 3.059 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/1.298, allocations: 108.2 kB / 1.447 GB, free: 2.938 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/1.299, allocations: 331.2 kB / 1.447 GB, free: 2.559 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/1.299, allocations: 46.67 kB / 1.447 GB, free: 2.504 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/1.299, allocations: 0 / 1.447 GB, free: 2.504 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.00113/1.3, allocations: 277.6 kB / 1.447 GB, free: 2.227 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/1.3, allocations: 162.2 kB / 1.447 GB, free: 2.031 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/1.301, allocations: 287 kB / 1.448 GB, free: 1.742 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/1.301, allocations: 25.7 kB / 1.448 GB, free: 1.711 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/1.301, allocations: 148 kB / 1.448 GB, free: 1.562 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.188e-05/1.301, allocations: 51.58 kB / 1.448 GB, free: 1.512 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/1.301, allocations: 45.83 kB / 1.448 GB, free: 1.461 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001984/1.301, allocations: 338.8 kB / 1.448 GB, free: 1.121 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/1.302, allocations: 71.94 kB / 1.448 GB, free: 1.051 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/1.302, allocations: 148.4 kB / 1.448 GB, free: 0.875 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005683/1.302, allocations: 211.5 kB / 1.449 GB, free: 0.6406 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.302, allocations: 0 / 1.449 GB, free: 0.6406 MB / 1.139 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007797/1.303, allocations: 241.5 kB / 1.449 GB, free: 408 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.303, allocations: 8.031 kB / 1.449 GB, free: 400 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.303, allocations: 4.375 kB / 1.449 GB, free: 396 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/1.303, allocations: 0 / 1.449 GB, free: 396 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/1.304, allocations: 43.91 kB / 1.449 GB, free: 352 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.304, allocations: 4 kB / 1.449 GB, free: 348 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/1.304, allocations: 39.7 kB / 1.449 GB, free: 308 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/1.304, allocations: 11.94 kB / 1.449 GB, free: 296 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.0002131/1.304, allocations: 161.7 kB / 1.449 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/1.304, allocations: 27.81 kB / 1.449 GB, free: 96 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006687/1.305, allocations: 189.8 kB / 1.449 GB, free: 15.89 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.026e-06/1.305, allocations: 4 kB / 1.449 GB, free: 15.89 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.305, allocations: 0 / 1.449 GB, free: 15.89 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/1.305, allocations: 0 / 1.449 GB, free: 15.89 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/1.307, allocations: 0.8588 MB / 1.45 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/1.307, allocations: 3.938 kB / 1.45 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/1.307, allocations: 23.98 kB / 1.45 GB, free: 14.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/1.307, allocations: 3.938 kB / 1.45 GB, free: 14.92 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/1.307, allocations: 7.938 kB / 1.45 GB, free: 14.91 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.307, allocations: 3.984 kB / 1.45 GB, free: 14.91 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.307, allocations: 4 kB / 1.45 GB, free: 14.91 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/1.308, allocations: 335.6 kB / 1.45 GB, free: 14.55 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/1.308, allocations: 121 kB / 1.451 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/1.308, allocations: 8 kB / 1.451 GB, free: 14.4 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/1.308, allocations: 4 kB / 1.451 GB, free: 14.4 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/1.308, allocations: 8.109 kB / 1.451 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/1.308, allocations: 12 kB / 1.451 GB, free: 14.38 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003654/1.309, allocations: 233.9 kB / 1.451 GB, free: 14.15 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.309, allocations: 0 / 1.451 GB, free: 14.15 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000713/1.309, allocations: 103.8 kB / 1.451 GB, free: 14.05 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.0008065/1.31, allocations: 219.8 kB / 1.451 GB, free: 13.84 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006054/1.311, allocations: 151.7 kB / 1.451 GB, free: 13.69 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.311, allocations: 0 / 1.451 GB, free: 13.69 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/1.311, allocations: 59.89 kB / 1.451 GB, free: 13.63 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/1.312, allocations: 143 kB / 1.451 GB, free: 13.49 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/1.313, allocations: 0.4916 MB / 1.452 GB, free: 12.96 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/1.314, allocations: 0.7597 MB / 1.453 GB, free: 12.18 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002932/1.314, allocations: 62.81 kB / 1.453 GB, free: 12.11 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.538e-05/1.314, allocations: 27.44 kB / 1.453 GB, free: 12.08 MB / 1.154 GB Notification: Performance of SimCode: time 5.71e-07/1.314, allocations: 3.938 kB / 1.453 GB, free: 12.08 MB / 1.154 GB Notification: Performance of Templates: time 0.01787/1.332, allocations: 5.888 MB / 1.459 GB, free: 6.254 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 gbode -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.253123619128019]