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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 82.33 kB / 19.77 MB, free: 2.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002473/0.002473, allocations: 152.3 kB / 23.01 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.674/2.674, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 63.89 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3563, allocations: 169.9 MB / 1.117 GB, free: 2.508 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.7841/1.14, allocations: 143.9 MB / 1.258 GB, free: 15.04 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006609/1.147, allocations: 4.217 MB / 1.262 GB, free: 12.23 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004483/1.147, allocations: 14.34 kB / 1.262 GB, free: 12.22 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005268/1.148, allocations: 131.2 kB / 1.262 GB, free: 12.14 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/1.15, allocations: 0.5632 MB / 1.263 GB, free: 11.85 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002463/1.152, allocations: 0.7939 MB / 1.264 GB, free: 11.47 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001017/1.153, allocations: 0.5865 MB / 1.264 GB, free: 11.2 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/1.153, allocations: 169.9 kB / 1.264 GB, free: 11.13 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/1.155, allocations: 478.4 kB / 1.265 GB, free: 10.93 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007754/1.156, allocations: 305.9 kB / 1.265 GB, free: 10.81 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/1.156, allocations: 18.69 kB / 1.265 GB, free: 10.81 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/1.158, allocations: 0.8538 MB / 1.266 GB, free: 10.5 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/1.158, allocations: 88.81 kB / 1.266 GB, free: 10.47 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/1.158, allocations: 113.3 kB / 1.266 GB, free: 10.41 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/1.16, allocations: 0.6799 MB / 1.267 GB, free: 10.2 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.16, allocations: 1.062 kB / 1.267 GB, free: 10.2 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.984e-06/1.16, allocations: 0 / 1.267 GB, free: 10.2 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.377e-06/1.16, allocations: 7.938 kB / 1.267 GB, free: 10.19 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001205/1.161, allocations: 0.5233 MB / 1.267 GB, free: 9.773 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.161, allocations: 10.31 kB / 1.267 GB, free: 9.773 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007397/1.162, allocations: 77.83 kB / 1.267 GB, free: 9.754 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/1.162, allocations: 246.5 kB / 1.268 GB, free: 9.559 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/1.162, allocations: 12.53 kB / 1.268 GB, free: 9.555 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/1.162, allocations: 25.22 kB / 1.268 GB, free: 9.543 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/1.163, allocations: 275.6 kB / 1.268 GB, free: 9.395 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.163, allocations: 7.875 kB / 1.268 GB, free: 9.387 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/1.163, allocations: 6.406 kB / 1.268 GB, free: 9.383 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/1.163, allocations: 9.891 kB / 1.268 GB, free: 9.379 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/1.163, allocations: 206.2 kB / 1.268 GB, free: 9.316 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/1.165, allocations: 1.104 MB / 1.269 GB, free: 8.422 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/1.165, allocations: 166.4 kB / 1.269 GB, free: 8.277 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/1.166, allocations: 110.2 kB / 1.269 GB, free: 8.215 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006593/1.166, allocations: 104.6 kB / 1.27 GB, free: 8.203 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/1.166, allocations: 43.16 kB / 1.27 GB, free: 8.156 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/1.166, allocations: 4 kB / 1.27 GB, free: 8.152 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.000804/1.167, allocations: 266.9 kB / 1.27 GB, free: 8.055 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.167, allocations: 162.9 kB / 1.27 GB, free: 7.863 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/1.167, allocations: 203.3 kB / 1.27 GB, free: 7.73 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/1.167, allocations: 31.14 kB / 1.27 GB, free: 7.695 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/1.168, allocations: 160 kB / 1.27 GB, free: 7.559 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/1.168, allocations: 49.72 kB / 1.27 GB, free: 7.52 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-05/1.168, allocations: 46.3 kB / 1.27 GB, free: 7.488 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.168, allocations: 329.7 kB / 1.271 GB, free: 7.168 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/1.168, allocations: 72.5 kB / 1.271 GB, free: 7.148 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/1.169, allocations: 250.6 kB / 1.271 GB, free: 6.922 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/1.169, allocations: 216.7 kB / 1.271 GB, free: 6.793 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.169, allocations: 1 kB / 1.271 GB, free: 6.793 MB / 1.123 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006023/1.17, allocations: 238.8 kB / 1.272 GB, free: 6.695 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.17, allocations: 5.781 kB / 1.272 GB, free: 6.695 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/1.17, allocations: 2.625 kB / 1.272 GB, free: 6.695 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/1.17, allocations: 2.594 kB / 1.272 GB, free: 6.695 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/1.17, allocations: 42.3 kB / 1.272 GB, free: 6.691 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.17, allocations: 3.953 kB / 1.272 GB, free: 6.691 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/1.17, allocations: 23.7 kB / 1.272 GB, free: 6.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/1.17, allocations: 9.906 kB / 1.272 GB, free: 6.68 MB / 1.123 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.0001935/1.17, allocations: 161.4 kB / 1.272 GB, free: 6.535 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/1.17, allocations: 21.52 kB / 1.272 GB, free: 6.523 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/1.171, allocations: 185.5 kB / 1.272 GB, free: 6.414 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.171, allocations: 1.375 kB / 1.272 GB, free: 6.414 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.171, allocations: 2.625 kB / 1.272 GB, free: 6.414 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/1.171, allocations: 2 kB / 1.272 GB, free: 6.414 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/1.172, allocations: 0.775 MB / 1.273 GB, free: 5.762 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.172, allocations: 1.031 kB / 1.273 GB, free: 5.762 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/1.172, allocations: 34.47 kB / 1.273 GB, free: 5.75 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.172, allocations: 2.344 kB / 1.273 GB, free: 5.75 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/1.172, allocations: 2.688 kB / 1.273 GB, free: 5.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/1.172, allocations: 5.922 kB / 1.273 GB, free: 5.746 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.172, allocations: 3.766 kB / 1.273 GB, free: 5.746 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/1.173, allocations: 340.9 kB / 1.273 GB, free: 5.512 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/1.173, allocations: 24.39 kB / 1.273 GB, free: 5.5 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/1.173, allocations: 11.36 kB / 1.273 GB, free: 5.492 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/1.173, allocations: 11.22 kB / 1.273 GB, free: 5.488 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/1.173, allocations: 13.39 kB / 1.273 GB, free: 5.484 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/1.173, allocations: 6.75 kB / 1.273 GB, free: 5.48 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002157/1.174, allocations: 175.8 kB / 1.273 GB, free: 5.375 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.174, allocations: 1.125 kB / 1.273 GB, free: 5.375 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006381/1.174, allocations: 107.6 kB / 1.273 GB, free: 5.348 MB / 1.123 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.0004849/1.175, allocations: 199.2 kB / 1.274 GB, free: 5.23 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004421/1.175, allocations: 142.6 kB / 1.274 GB, free: 5.195 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.175, allocations: 0 / 1.274 GB, free: 5.195 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/1.175, allocations: 69.83 kB / 1.274 GB, free: 5.172 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/1.176, allocations: 70.33 kB / 1.274 GB, free: 5.152 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009871/1.177, allocations: 0.49 MB / 1.274 GB, free: 4.805 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/1.177, allocations: 149.9 kB / 1.275 GB, free: 4.723 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001864/1.177, allocations: 50.73 kB / 1.275 GB, free: 4.715 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/1.177, allocations: 21.14 kB / 1.275 GB, free: 4.707 MB / 1.123 GB Notification: Performance of SimCode: time 7.61e-07/1.177, allocations: 0 / 1.275 GB, free: 4.707 MB / 1.123 GB Notification: Performance of Templates: time 0.0117/1.189, allocations: 4.387 MB / 1.279 GB, free: 4.219 MB / 1.123 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 ida -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/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.204587321029976]