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.001404/0.001404, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001517/0.001517, allocations: 166 kB / 22.46 MB, free: 5.359 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.545/1.545, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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 2.98/2.98, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 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 2.014e-06/2.014e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.162e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.03525/0.03528, allocations: 21.49 MB / 1.002 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0128/0.04808, allocations: 4.755 MB / 1.007 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.04945, allocations: 35.69 kB / 1.007 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.05093, allocations: 289.9 kB / 1.007 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003802/0.05474, allocations: 0.8545 MB / 1.008 GB, free: 440 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.05805, allocations: 0.813 MB / 1.009 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00281/0.06086, allocations: 1.644 MB / 1.011 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.06186, allocations: 402 kB / 1.011 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003064/0.06493, allocations: 0.9324 MB / 1.012 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009875/0.06591, allocations: 402.7 kB / 1.012 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.06608, allocations: 48 kB / 1.012 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.06736, allocations: 415 kB / 1.013 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.06763, allocations: 155.4 kB / 1.013 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004427/0.06808, allocations: 207.5 kB / 1.013 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.06997, allocations: 0.9542 MB / 1.014 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.06998, allocations: 4 kB / 1.014 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.06998, allocations: 0 / 1.014 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.263e-05/0.07001, allocations: 0 / 1.014 GB, free: 10.47 MB / 0.9669 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.001927/0.07194, allocations: 0.8237 MB / 1.015 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.07198, allocations: 12.03 kB / 1.015 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003126/0.0723, allocations: 68.56 kB / 1.015 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.07353, allocations: 0.5107 MB / 1.015 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.07356, allocations: 29.38 kB / 1.015 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-05/0.07365, allocations: 40.38 kB / 1.015 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008624/0.07451, allocations: 0.5056 MB / 1.016 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.07453, allocations: 11.88 kB / 1.016 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.59e-05/0.07458, allocations: 16 kB / 1.016 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.07461, allocations: 12 kB / 1.016 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005727/0.07518, allocations: 299.8 kB / 1.016 GB, free: 8.059 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.078, allocations: 1.443 MB / 1.018 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.07858, allocations: 242.8 kB / 1.018 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.07877, allocations: 108.8 kB / 1.018 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005388/0.07931, allocations: 107.9 kB / 1.018 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.07935, allocations: 38.55 kB / 1.018 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 1.834e-06/0.07936, allocations: 0 / 1.018 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.0007803/0.08014, allocations: 367.3 kB / 1.019 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.08019, allocations: 55.41 kB / 1.019 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.08073, allocations: 397.9 kB / 1.019 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.08077, allocations: 33.7 kB / 1.019 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.08102, allocations: 280.4 kB / 1.019 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.944e-05/0.08112, allocations: 95.25 kB / 1.019 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.08124, allocations: 70.02 kB / 1.019 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.08141, allocations: 362.7 kB / 1.02 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.0816, allocations: 92.61 kB / 1.02 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.08191, allocations: 249.2 kB / 1.02 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.08237, allocations: 282.6 kB / 1.02 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.08237, allocations: 0 / 1.02 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000645/0.08301, allocations: 365.1 kB / 1.021 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.08304, allocations: 4 kB / 1.021 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.08305, allocations: 8 kB / 1.021 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.08307, allocations: 8.031 kB / 1.021 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.08336, allocations: 71.91 kB / 1.021 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.08337, allocations: 7.969 kB / 1.021 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.08363, allocations: 36 kB / 1.021 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.08367, allocations: 16 kB / 1.021 GB, free: 3.199 MB / 0.9669 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.0002294/0.0839, allocations: 182 kB / 1.021 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.084, allocations: 43.72 kB / 1.021 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000893/0.0849, allocations: 482.2 kB / 1.022 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.08491, allocations: 7.938 kB / 1.022 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.08491, allocations: 4 kB / 1.022 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006685/0.08558, allocations: 0.5769 MB / 1.022 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.0874, allocations: 0.9476 MB / 1.023 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.08741, allocations: 7.938 kB / 1.023 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.08765, allocations: 51.91 kB / 1.023 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.08766, allocations: 8.188 kB / 1.023 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.08768, allocations: 11.94 kB / 1.023 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.08769, allocations: 4 kB / 1.023 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.08769, allocations: 4 kB / 1.023 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009681/0.08866, allocations: 0.6681 MB / 1.024 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.08886, allocations: 91.53 kB / 1.024 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.08893, allocations: 11.94 kB / 1.024 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.0892, allocations: 11.98 kB / 1.024 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.08926, allocations: 19.97 kB / 1.024 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.0893, allocations: 27.98 kB / 1.024 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003602/0.08966, allocations: 279.1 kB / 1.024 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.08966, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000736/0.09039, allocations: 211.5 kB / 1.024 GB, free: 15.4 MB / 0.9825 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.0005965/0.09099, allocations: 278.8 kB / 1.025 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005404/0.09153, allocations: 283.9 kB / 1.025 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.09154, allocations: 0 / 1.025 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.0918, allocations: 155.8 kB / 1.025 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.09318, allocations: 258.6 kB / 1.025 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.09505, allocations: 0.9851 MB / 1.026 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.09537, allocations: 266.2 kB / 1.027 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003577/0.09573, allocations: 100.3 kB / 1.027 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.09586, allocations: 56.41 kB / 1.027 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.09586, allocations: 0 / 1.027 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.0221/0.118, allocations: 10.76 MB / 1.037 GB, free: 2.48 MB / 0.9825 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] 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: 9.106919303536415]