Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.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.001941/0.001941, allocations: 106.4 kB / 18.19 MB, free: 3.879 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.001721/0.001721, allocations: 189.9 kB / 21.34 MB, free: 0.7383 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.385/1.385, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 489.7 MB / 0.7761 GB, free: 33.62 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 70.05 kB / 1.127 GB, free: 36.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.327, allocations: 172.1 MB / 1.295 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02848/0.3555, allocations: 23.44 MB / 1.318 GB, free: 4.121 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007965/0.3634, allocations: 5.115 MB / 1.323 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008491/0.3643, allocations: 27.88 kB / 1.323 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008451/0.3651, allocations: 294 kB / 1.323 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.3672, allocations: 0.828 MB / 1.324 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.3691, allocations: 0.7788 MB / 1.325 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002084/0.3711, allocations: 1.617 MB / 1.326 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000662/0.3718, allocations: 413.6 kB / 1.327 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/0.3738, allocations: 0.7215 MB / 1.327 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006942/0.3745, allocations: 462 kB / 1.328 GB, free: 9.867 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.231e-05/0.3746, allocations: 48 kB / 1.328 GB, free: 9.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.3758, allocations: 0.4913 MB / 1.328 GB, free: 9.328 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.3759, allocations: 147.4 kB / 1.328 GB, free: 9.184 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.3763, allocations: 306.5 kB / 1.329 GB, free: 8.883 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.3778, allocations: 0.938 MB / 1.33 GB, free: 7.941 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3778, allocations: 0 / 1.33 GB, free: 7.941 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3778, allocations: 0 / 1.33 GB, free: 7.941 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3778, allocations: 0 / 1.33 GB, free: 7.941 MB / 1.029 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.001471/0.3793, allocations: 0.9145 MB / 1.331 GB, free: 6.977 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3793, allocations: 8.031 kB / 1.331 GB, free: 6.969 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.3796, allocations: 72.56 kB / 1.331 GB, free: 6.898 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.3806, allocations: 0.5732 MB / 1.331 GB, free: 6.289 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.3807, allocations: 32.94 kB / 1.331 GB, free: 6.258 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.3807, allocations: 40 kB / 1.331 GB, free: 6.219 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007464/0.3815, allocations: 444.7 kB / 1.332 GB, free: 5.758 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3815, allocations: 4 kB / 1.332 GB, free: 5.754 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.3816, allocations: 16 kB / 1.332 GB, free: 5.738 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.3816, allocations: 8 kB / 1.332 GB, free: 5.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.3821, allocations: 307.7 kB / 1.332 GB, free: 5.434 MB / 1.029 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.002834/0.3849, allocations: 1.916 MB / 1.334 GB, free: 3.387 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.3855, allocations: 254.6 kB / 1.334 GB, free: 3.129 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.3857, allocations: 112.8 kB / 1.334 GB, free: 3.016 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008966/0.3866, allocations: 0.8467 MB / 1.335 GB, free: 1.984 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3866, allocations: 34.56 kB / 1.335 GB, free: 1.941 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.764e-06/0.3866, allocations: 0 / 1.335 GB, free: 1.941 MB / 1.029 GB Notification: Performance of matching and sorting (n=26): time 0.0007367/0.3873, allocations: 373.2 kB / 1.335 GB, free: 1.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.3874, allocations: 59.28 kB / 1.335 GB, free: 1.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.388, allocations: 478.1 kB / 1.336 GB, free: 1.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.388, allocations: 29.7 kB / 1.336 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.3882, allocations: 268.4 kB / 1.336 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.284e-05/0.3883, allocations: 103.1 kB / 1.336 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3884, allocations: 66.02 kB / 1.336 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3886, allocations: 358.8 kB / 1.337 GB, free: 192 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.3888, allocations: 96.61 kB / 1.337 GB, free: 96 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.389, allocations: 168.1 kB / 1.337 GB, free: 15.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.3895, allocations: 286.7 kB / 1.337 GB, free: 15.6 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3895, allocations: 0 / 1.337 GB, free: 15.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006004/0.3901, allocations: 365.1 kB / 1.338 GB, free: 15.24 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3901, allocations: 13.81 kB / 1.338 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3901, allocations: 4.219 kB / 1.338 GB, free: 15.22 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3901, allocations: 4 kB / 1.338 GB, free: 15.22 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.3904, allocations: 79.78 kB / 1.338 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.3904, allocations: 7.984 kB / 1.338 GB, free: 15.13 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.3907, allocations: 39.67 kB / 1.338 GB, free: 15.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.3907, allocations: 16 kB / 1.338 GB, free: 15.08 MB / 1.045 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.0002107/0.3909, allocations: 181.9 kB / 1.338 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.391, allocations: 51.67 kB / 1.338 GB, free: 14.84 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008346/0.3919, allocations: 474.9 kB / 1.338 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.3919, allocations: 7.938 kB / 1.338 GB, free: 14.37 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3919, allocations: 3.938 kB / 1.338 GB, free: 14.37 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006323/0.3925, allocations: 0.573 MB / 1.339 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.3944, allocations: 1.152 MB / 1.34 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3944, allocations: 8.031 kB / 1.34 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.3947, allocations: 47.92 kB / 1.34 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3947, allocations: 4 kB / 1.34 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.3947, allocations: 11.98 kB / 1.34 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3947, allocations: 4 kB / 1.34 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3947, allocations: 4 kB / 1.34 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009343/0.3956, allocations: 0.6682 MB / 1.341 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.3959, allocations: 168.7 kB / 1.341 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.3959, allocations: 8 kB / 1.341 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.3962, allocations: 15.98 kB / 1.341 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.3963, allocations: 19.97 kB / 1.341 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.3963, allocations: 19.94 kB / 1.341 GB, free: 11.45 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004422/0.3967, allocations: 350.8 kB / 1.341 GB, free: 11.11 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3967, allocations: 0 / 1.341 GB, free: 11.11 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007143/0.3974, allocations: 207.4 kB / 1.342 GB, free: 10.91 MB / 1.045 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.0007288/0.3982, allocations: 290.3 kB / 1.342 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005485/0.3987, allocations: 276.8 kB / 1.342 GB, free: 10.36 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3987, allocations: 0 / 1.342 GB, free: 10.36 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.399, allocations: 156.3 kB / 1.342 GB, free: 10.2 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.4004, allocations: 334.2 kB / 1.343 GB, free: 9.879 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.4023, allocations: 1.107 MB / 1.344 GB, free: 8.715 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.4028, allocations: 0.8627 MB / 1.345 GB, free: 7.824 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.403, allocations: 55.42 kB / 1.345 GB, free: 7.77 MB / 1.045 GB Notification: Performance of SimCode: time 7.22e-07/0.403, allocations: 0 / 1.345 GB, free: 7.77 MB / 1.045 GB Notification: Performance of Templates: time 0.01516/0.4181, allocations: 9.96 MB / 1.354 GB, free: 13.9 MB / 1.061 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches