Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001708/0.001708, allocations: 104.2 kB / 16.4 MB, free: 6.488 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.001891/0.001891, allocations: 191.7 kB / 19.35 MB, free: 3.754 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.439/1.439, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437 MB / 0.7171 GB, free: 4.109 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=502,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 67.89 kB / 1.027 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9383/0.9405, allocations: 151.6 MB / 1.175 GB, free: 17.94 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2149/1.155, allocations: 163.2 MB / 1.335 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006817/1.162, allocations: 4.578 MB / 1.339 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/1.163, allocations: 11.94 kB / 1.339 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005412/1.163, allocations: 127.1 kB / 1.339 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001781/1.165, allocations: 0.5444 MB / 1.34 GB, free: 32 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002137/1.167, allocations: 0.767 MB / 1.34 GB, free: 15.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008782/1.168, allocations: 0.5729 MB / 1.341 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004637/1.169, allocations: 217.2 kB / 1.341 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/1.17, allocations: 466.2 kB / 1.342 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007159/1.171, allocations: 297.7 kB / 1.342 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.163e-05/1.171, allocations: 20 kB / 1.342 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/1.173, allocations: 1.002 MB / 1.343 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/1.173, allocations: 83.78 kB / 1.343 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002021/1.173, allocations: 135.3 kB / 1.343 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/1.174, allocations: 0.7124 MB / 1.344 GB, free: 11.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.174, allocations: 0 / 1.344 GB, free: 11.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.804e-06/1.174, allocations: 0 / 1.344 GB, free: 11.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.812e-06/1.175, allocations: 0 / 1.344 GB, free: 11.78 MB / 1.061 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.001048/1.176, allocations: 0.6105 MB / 1.344 GB, free: 11.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/1.176, allocations: 8.922 kB / 1.344 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006606/1.176, allocations: 79.69 kB / 1.345 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/1.177, allocations: 299.5 kB / 1.345 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/1.177, allocations: 15.95 kB / 1.345 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/1.177, allocations: 23.94 kB / 1.345 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/1.177, allocations: 279.5 kB / 1.345 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/1.177, allocations: 7.938 kB / 1.345 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/1.177, allocations: 8 kB / 1.345 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/1.177, allocations: 7.938 kB / 1.345 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/1.178, allocations: 203.8 kB / 1.345 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/1.18, allocations: 1.242 MB / 1.347 GB, free: 8.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/1.18, allocations: 181 kB / 1.347 GB, free: 8.598 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/1.18, allocations: 116.2 kB / 1.347 GB, free: 8.469 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007869/1.181, allocations: 339.3 kB / 1.347 GB, free: 8.082 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/1.181, allocations: 34.56 kB / 1.347 GB, free: 8.039 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/1.181, allocations: 0 / 1.347 GB, free: 8.039 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008256/1.182, allocations: 282 kB / 1.347 GB, free: 7.758 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.182, allocations: 154.2 kB / 1.348 GB, free: 7.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/1.182, allocations: 291 kB / 1.348 GB, free: 7.285 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/1.182, allocations: 29.8 kB / 1.348 GB, free: 7.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/1.182, allocations: 147.9 kB / 1.348 GB, free: 7.102 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/1.183, allocations: 47.59 kB / 1.348 GB, free: 7.055 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/1.183, allocations: 41.7 kB / 1.348 GB, free: 7.008 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.183, allocations: 342.8 kB / 1.348 GB, free: 6.664 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/1.183, allocations: 67.94 kB / 1.349 GB, free: 6.598 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/1.183, allocations: 148.5 kB / 1.349 GB, free: 6.422 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/1.184, allocations: 215.4 kB / 1.349 GB, free: 6.184 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.184, allocations: 4 kB / 1.349 GB, free: 6.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005402/1.184, allocations: 241.2 kB / 1.349 GB, free: 5.938 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.184, allocations: 8.25 kB / 1.349 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.184, allocations: 4 kB / 1.349 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.184, allocations: 4 kB / 1.349 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/1.185, allocations: 35.92 kB / 1.349 GB, free: 5.887 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.185, allocations: 4 kB / 1.349 GB, free: 5.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/1.185, allocations: 35.77 kB / 1.349 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/1.185, allocations: 15.92 kB / 1.349 GB, free: 5.832 MB / 1.061 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.185, allocations: 145.8 kB / 1.349 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/1.185, allocations: 31.86 kB / 1.349 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/1.186, allocations: 185.9 kB / 1.35 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/1.186, allocations: 0 / 1.35 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/1.186, allocations: 4 kB / 1.35 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.186, allocations: 0 / 1.35 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/1.187, allocations: 0.855 MB / 1.35 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.187, allocations: 4 kB / 1.35 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/1.187, allocations: 23.98 kB / 1.35 GB, free: 4.488 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/1.187, allocations: 7.938 kB / 1.35 GB, free: 4.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/1.187, allocations: 0 / 1.35 GB, free: 4.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/1.187, allocations: 7.938 kB / 1.35 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.187, allocations: 0 / 1.35 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006047/1.188, allocations: 347.6 kB / 1.351 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/1.188, allocations: 108.9 kB / 1.351 GB, free: 3.977 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/1.188, allocations: 8.062 kB / 1.351 GB, free: 3.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/1.188, allocations: 7.984 kB / 1.351 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/1.188, allocations: 15.98 kB / 1.351 GB, free: 3.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/1.188, allocations: 4 kB / 1.351 GB, free: 3.941 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002414/1.188, allocations: 229.9 kB / 1.351 GB, free: 3.715 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.188, allocations: 0 / 1.351 GB, free: 3.715 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004744/1.189, allocations: 103.8 kB / 1.351 GB, free: 3.613 MB / 1.061 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.0005964/1.189, allocations: 222.1 kB / 1.351 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004283/1.19, allocations: 152 kB / 1.352 GB, free: 3.246 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.19, allocations: 4 kB / 1.352 GB, free: 3.242 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/1.19, allocations: 55.91 kB / 1.352 GB, free: 3.188 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008125/1.191, allocations: 149.7 kB / 1.352 GB, free: 3.047 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009004/1.192, allocations: 0.5109 MB / 1.352 GB, free: 2.488 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/1.192, allocations: 0.7558 MB / 1.353 GB, free: 1.707 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000174/1.192, allocations: 58.95 kB / 1.353 GB, free: 1.648 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/1.192, allocations: 31.42 kB / 1.353 GB, free: 1.617 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.192, allocations: 0 / 1.353 GB, free: 1.617 MB / 1.061 GB Notification: Performance of Templates: time 0.01117/1.203, allocations: 5.84 MB / 1.359 GB, free: 11.85 MB / 1.076 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches