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.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.002339/0.002339, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002838/0.002838, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.59/1.59, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.428/3.428, allocations: 429.5 MB / 0.6729 GB, free: 3.992 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0.875 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/2.983e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2551/0.2551, allocations: 159.3 MB / 1.033 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007607/0.2627, allocations: 4.704 MB / 1.038 GB, free: 2.051 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004178/0.2631, allocations: 15.88 kB / 1.038 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.2637, allocations: 127.1 kB / 1.038 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.2653, allocations: 0.5791 MB / 1.038 GB, free: 1.328 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.2675, allocations: 0.821 MB / 1.039 GB, free: 0.5039 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008418/0.2684, allocations: 0.5493 MB / 1.04 GB, free: 15.95 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.2687, allocations: 153.6 kB / 1.04 GB, free: 15.8 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.2705, allocations: 0.7355 MB / 1.041 GB, free: 15.06 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009034/0.2714, allocations: 283.1 kB / 1.041 GB, free: 14.79 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.2714, allocations: 16 kB / 1.041 GB, free: 14.77 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.2731, allocations: 0.8723 MB / 1.042 GB, free: 13.89 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.2732, allocations: 95.72 kB / 1.042 GB, free: 13.8 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.2734, allocations: 87.83 kB / 1.042 GB, free: 13.71 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.2746, allocations: 0.7322 MB / 1.043 GB, free: 12.98 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2746, allocations: 0 / 1.043 GB, free: 12.98 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2746, allocations: 0 / 1.043 GB, free: 12.98 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2746, allocations: 0 / 1.043 GB, free: 12.98 MB / 1.01 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.001033/0.2757, allocations: 0.631 MB / 1.043 GB, free: 12.31 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2757, allocations: 11.97 kB / 1.043 GB, free: 12.3 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007307/0.2764, allocations: 119.5 kB / 1.043 GB, free: 12.18 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.2769, allocations: 231.6 kB / 1.044 GB, free: 11.93 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.2769, allocations: 12 kB / 1.044 GB, free: 11.92 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.277, allocations: 20 kB / 1.044 GB, free: 11.9 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.2775, allocations: 264 kB / 1.044 GB, free: 11.61 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2775, allocations: 3.938 kB / 1.044 GB, free: 11.6 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.2775, allocations: 8 kB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.2775, allocations: 4 kB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.2779, allocations: 144.4 kB / 1.044 GB, free: 11.45 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.2798, allocations: 1.429 MB / 1.045 GB, free: 9.949 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.2801, allocations: 183.4 kB / 1.046 GB, free: 9.707 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.2803, allocations: 98.47 kB / 1.046 GB, free: 9.59 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006313/0.2809, allocations: 95.89 kB / 1.046 GB, free: 9.496 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.281, allocations: 45.39 kB / 1.046 GB, free: 9.441 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.281, allocations: 0 / 1.046 GB, free: 9.441 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0006754/0.2817, allocations: 193.3 kB / 1.046 GB, free: 9.246 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.2818, allocations: 158.2 kB / 1.046 GB, free: 9.055 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.2821, allocations: 277.6 kB / 1.046 GB, free: 8.766 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.2821, allocations: 29.7 kB / 1.046 GB, free: 8.73 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.2823, allocations: 211.6 kB / 1.047 GB, free: 8.516 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.2823, allocations: 51.64 kB / 1.047 GB, free: 8.465 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.932e-05/0.2824, allocations: 51.31 kB / 1.047 GB, free: 8.406 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002901/0.2827, allocations: 0.5079 MB / 1.047 GB, free: 7.887 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.2829, allocations: 31.98 kB / 1.047 GB, free: 7.855 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.2832, allocations: 243.6 kB / 1.047 GB, free: 7.551 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/0.2837, allocations: 189 kB / 1.048 GB, free: 7.328 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.2838, allocations: 7.938 kB / 1.048 GB, free: 7.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004663/0.2842, allocations: 185.2 kB / 1.048 GB, free: 7.133 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2842, allocations: 4 kB / 1.048 GB, free: 7.129 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2842, allocations: 8.25 kB / 1.048 GB, free: 7.121 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2843, allocations: 4 kB / 1.048 GB, free: 7.117 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.2844, allocations: 31.98 kB / 1.048 GB, free: 7.086 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2845, allocations: 0 / 1.048 GB, free: 7.086 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.2846, allocations: 27.81 kB / 1.048 GB, free: 7.059 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.2846, allocations: 12 kB / 1.048 GB, free: 7.047 MB / 1.01 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.0001731/0.2848, allocations: 180.5 kB / 1.048 GB, free: 6.859 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.285, allocations: 35.8 kB / 1.048 GB, free: 6.824 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004632/0.2854, allocations: 178 kB / 1.048 GB, free: 6.633 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2854, allocations: 3.938 kB / 1.048 GB, free: 6.629 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2854, allocations: 0 / 1.048 GB, free: 6.629 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2854, allocations: 4 kB / 1.048 GB, free: 6.625 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.2866, allocations: 1.012 MB / 1.049 GB, free: 5.547 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.2866, allocations: 4 kB / 1.049 GB, free: 5.543 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.2868, allocations: 23.98 kB / 1.049 GB, free: 5.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2868, allocations: 0 / 1.049 GB, free: 5.52 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2868, allocations: 4 kB / 1.049 GB, free: 5.516 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2868, allocations: 0 / 1.049 GB, free: 5.516 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2868, allocations: 8.062 kB / 1.049 GB, free: 5.508 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.2873, allocations: 362.3 kB / 1.05 GB, free: 5.113 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.2874, allocations: 23.89 kB / 1.05 GB, free: 5.09 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.2874, allocations: 7.953 kB / 1.05 GB, free: 5.082 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2876, allocations: 3.984 kB / 1.05 GB, free: 5.078 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.2876, allocations: 19.92 kB / 1.05 GB, free: 5.059 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.2876, allocations: 4 kB / 1.05 GB, free: 5.055 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001982/0.2878, allocations: 204 kB / 1.05 GB, free: 4.855 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.2878, allocations: 0 / 1.05 GB, free: 4.855 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005056/0.2883, allocations: 107.7 kB / 1.05 GB, free: 4.75 MB / 1.01 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.0004894/0.2888, allocations: 218.9 kB / 1.05 GB, free: 4.527 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.2892, allocations: 114 kB / 1.05 GB, free: 4.414 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2892, allocations: 0.5 kB / 1.05 GB, free: 4.414 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.2893, allocations: 59.59 kB / 1.05 GB, free: 4.352 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.2899, allocations: 65.83 kB / 1.05 GB, free: 4.289 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008809/0.2907, allocations: 469.5 kB / 1.051 GB, free: 3.777 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.2909, allocations: 141.8 kB / 1.051 GB, free: 3.625 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.2911, allocations: 41.55 kB / 1.051 GB, free: 3.582 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.2911, allocations: 28.48 kB / 1.051 GB, free: 3.555 MB / 1.01 GB Notification: Performance of SimCode: time 4.71e-07/0.2911, allocations: 0 / 1.051 GB, free: 3.555 MB / 1.01 GB Notification: Performance of Templates: time 0.3816/0.6727, allocations: 4.341 MB / 1.055 GB, free: 222.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.430891381925903]