Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.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.0024/0.0024, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.003003/0.003003, allocations: 165.3 kB / 23.55 MB, free: 0.8711 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.664/1.664, allocations: 177.1 MB / 203.9 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.068/3.068, allocations: 377.9 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.487e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.0357/0.03574, allocations: 24.03 MB / 0.8343 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.009997/0.04573, allocations: 5.2 MB / 0.8394 GB, free: 4.824 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.04687, allocations: 35.69 kB / 0.8394 GB, free: 4.789 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.04809, allocations: 289.9 kB / 0.8397 GB, free: 4.504 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003038/0.05113, allocations: 0.8623 MB / 0.8405 GB, free: 3.637 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.05389, allocations: 0.7984 MB / 0.8413 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002701/0.05659, allocations: 1.644 MB / 0.8429 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007567/0.05735, allocations: 406.2 kB / 0.8433 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.05972, allocations: 0.9551 MB / 0.8442 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007236/0.06045, allocations: 410.5 kB / 0.8446 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.682e-05/0.06054, allocations: 44 kB / 0.8447 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.06174, allocations: 415 kB / 0.8451 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.06197, allocations: 159.4 kB / 0.8452 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.06232, allocations: 207.5 kB / 0.8454 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.06417, allocations: 0.9619 MB / 0.8463 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.06418, allocations: 0 / 0.8463 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.413e-06/0.06418, allocations: 0 / 0.8463 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.06419, allocations: 0 / 0.8463 GB, free: 13.66 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001822/0.06601, allocations: 0.9624 MB / 0.8473 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.06607, allocations: 12.03 kB / 0.8473 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.06648, allocations: 108.4 kB / 0.8474 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.06772, allocations: 0.5253 MB / 0.8479 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.06776, allocations: 33.31 kB / 0.8479 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.075e-05/0.06785, allocations: 40.38 kB / 0.848 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.06876, allocations: 0.5194 MB / 0.8485 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.06878, allocations: 0 / 0.8485 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.06883, allocations: 20 kB / 0.8485 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.06886, allocations: 12 kB / 0.8485 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.06948, allocations: 279.7 kB / 0.8488 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003097/0.07257, allocations: 1.784 MB / 0.8505 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.07315, allocations: 239.2 kB / 0.8508 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.07334, allocations: 99.64 kB / 0.8509 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004762/0.07382, allocations: 95.91 kB / 0.8509 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.07386, allocations: 41.39 kB / 0.851 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 1.353e-06/0.07387, allocations: 0 / 0.851 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26): time 0.0007716/0.07464, allocations: 336.2 kB / 0.8513 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001862/0.07482, allocations: 59.41 kB / 0.8514 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000686/0.07551, allocations: 0.5025 MB / 0.8519 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.07555, allocations: 29.7 kB / 0.8519 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.07588, allocations: 347.3 kB / 0.8522 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.076, allocations: 103.1 kB / 0.8523 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.07615, allocations: 91.62 kB / 0.8524 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003707/0.07652, allocations: 0.5469 MB / 0.8529 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.0767, allocations: 80.61 kB / 0.853 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.07704, allocations: 263.8 kB / 0.8533 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.07753, allocations: 290.3 kB / 0.8535 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.07753, allocations: 0 / 0.8535 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006447/0.07818, allocations: 341.1 kB / 0.8539 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.07819, allocations: 4 kB / 0.8539 GB, free: 5.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.0782, allocations: 4 kB / 0.8539 GB, free: 5.605 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.07822, allocations: 4 kB / 0.8539 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.07852, allocations: 80.11 kB / 0.854 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.07853, allocations: 7.938 kB / 0.854 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.07876, allocations: 19.84 kB / 0.854 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.0788, allocations: 23.92 kB / 0.854 GB, free: 5.473 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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.0002722/0.07908, allocations: 228.4 kB / 0.8542 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.0792, allocations: 51.72 kB / 0.8543 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008514/0.08005, allocations: 394.4 kB / 0.8546 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.08006, allocations: 4 kB / 0.8546 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.08007, allocations: 0 / 0.8546 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001124/0.0812, allocations: 0.5065 MB / 0.8551 GB, free: 4.219 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.08313, allocations: 0.9956 MB / 0.8561 GB, free: 3.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.08314, allocations: 192 / 0.8561 GB, free: 3.156 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.08337, allocations: 59.91 kB / 0.8562 GB, free: 3.098 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.08338, allocations: 4 kB / 0.8562 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.08341, allocations: 11.94 kB / 0.8562 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.08342, allocations: 4 kB / 0.8562 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.08342, allocations: 3.938 kB / 0.8562 GB, free: 3.074 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009696/0.08439, allocations: 0.611 MB / 0.8568 GB, free: 2.418 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.0846, allocations: 91.55 kB / 0.8569 GB, free: 2.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.08467, allocations: 11.94 kB / 0.8569 GB, free: 2.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.08491, allocations: 15.98 kB / 0.8569 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.08499, allocations: 31.89 kB / 0.8569 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.08503, allocations: 12 kB / 0.8569 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004386/0.08546, allocations: 335 kB / 0.8573 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.08546, allocations: 0 / 0.8573 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007622/0.08623, allocations: 207.5 kB / 0.8575 GB, free: 1.73 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0005787/0.08681, allocations: 286.7 kB / 0.8577 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005549/0.08736, allocations: 271.1 kB / 0.858 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.08736, allocations: 0 / 0.858 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.08762, allocations: 139.5 kB / 0.8581 GB, free: 1.027 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.08896, allocations: 262.6 kB / 0.8584 GB, free: 0.7812 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.09093, allocations: 0.9849 MB / 0.8593 GB, free: 15.74 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.09125, allocations: 262.2 kB / 0.8596 GB, free: 15.46 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003369/0.09159, allocations: 96.27 kB / 0.8597 GB, free: 15.36 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.09173, allocations: 56.47 kB / 0.8597 GB, free: 15.31 MB / 0.823 GB Notification: Performance of SimCode: time 4.41e-07/0.09173, allocations: 0 / 0.8597 GB, free: 15.31 MB / 0.823 GB Notification: Performance of Templates: time 0.02244/0.1142, allocations: 10.81 MB / 0.8703 GB, free: 4.758 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.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: 8.811823070980608]