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.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.001013/0.001013, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001549/0.002562, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001045/0.001045, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002372, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.004/1.004, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08016/1.084, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.354/2.354, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2426/2.597, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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 1.793e-06/1.793e-06, allocations: 0 / 0.8183 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.341e-05, allocations: 4.984 kB / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01071/0.01074, allocations: 8.778 MB / 0.8269 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006801/0.01754, allocations: 3.342 MB / 0.8302 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009304/0.01847, allocations: 39.69 kB / 0.8302 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005813/0.01905, allocations: 178.6 kB / 0.8304 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.02067, allocations: 0.6602 MB / 0.831 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.02212, allocations: 0.6313 MB / 0.8316 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002064/0.02419, allocations: 1.605 MB / 0.8332 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.02523, allocations: 405.1 kB / 0.8336 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.02672, allocations: 0.8173 MB / 0.8344 GB, free: 2.352 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006635/0.02738, allocations: 390.8 kB / 0.8348 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.701e-05/0.02748, allocations: 44 kB / 0.8348 GB, free: 1.926 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007182/0.02819, allocations: 275.4 kB / 0.8351 GB, free: 1.656 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.02834, allocations: 111.5 kB / 0.8352 GB, free: 1.547 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.02861, allocations: 179.7 kB / 0.8354 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.02965, allocations: 0.5645 MB / 0.8359 GB, free: 0.8047 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.049e-05/0.02967, allocations: 0 / 0.8359 GB, free: 0.8047 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.036e-06/0.02967, allocations: 4 kB / 0.8359 GB, free: 0.8008 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.619e-05/0.0297, allocations: 0 / 0.8359 GB, free: 0.8008 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.001335/0.03103, allocations: 0.9003 MB / 0.8368 GB, free: 15.88 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.03107, allocations: 8.625 kB / 0.8368 GB, free: 15.87 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.03138, allocations: 165.8 kB / 0.837 GB, free: 15.69 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007039/0.03208, allocations: 411.1 kB / 0.8373 GB, free: 15.25 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.03212, allocations: 29.38 kB / 0.8374 GB, free: 15.23 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.03218, allocations: 48.33 kB / 0.8374 GB, free: 15.18 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.03266, allocations: 392.5 kB / 0.8378 GB, free: 14.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.03268, allocations: 4 kB / 0.8378 GB, free: 14.75 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.03272, allocations: 16 kB / 0.8378 GB, free: 14.73 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.03275, allocations: 8 kB / 0.8378 GB, free: 14.73 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.03296, allocations: 121.7 kB / 0.8379 GB, free: 14.61 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.03473, allocations: 1.13 MB / 0.839 GB, free: 13.45 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.03505, allocations: 184.8 kB / 0.8392 GB, free: 13.25 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.297e-05/0.03513, allocations: 59.59 kB / 0.8393 GB, free: 13.19 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.03537, allocations: 71.92 kB / 0.8393 GB, free: 13.12 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.0354, allocations: 38.56 kB / 0.8394 GB, free: 13.07 MB / 0.823 GB Notification: Performance of pre-optimization done (n=26): time 2.865e-06/0.0354, allocations: 3.938 kB / 0.8394 GB, free: 13.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=26): time 0.0003246/0.03572, allocations: 156.6 kB / 0.8395 GB, free: 12.91 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.03576, allocations: 59.39 kB / 0.8396 GB, free: 12.84 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.03608, allocations: 360.9 kB / 0.8399 GB, free: 12.48 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.03611, allocations: 29.7 kB / 0.84 GB, free: 12.45 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.03732, allocations: 233.4 kB / 0.8402 GB, free: 12.21 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.03739, allocations: 99.09 kB / 0.8403 GB, free: 12.11 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.814e-05/0.03749, allocations: 77.94 kB / 0.8404 GB, free: 12.03 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.0376, allocations: 354.7 kB / 0.8407 GB, free: 11.68 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.03768, allocations: 35.47 kB / 0.8407 GB, free: 11.64 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.03782, allocations: 181.1 kB / 0.8409 GB, free: 11.42 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.03801, allocations: 160.3 kB / 0.841 GB, free: 11.24 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.03801, allocations: 4 kB / 0.8411 GB, free: 11.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002871/0.0383, allocations: 184.2 kB / 0.8412 GB, free: 11.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.03832, allocations: 4 kB / 0.8412 GB, free: 11.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.03832, allocations: 3.984 kB / 0.8412 GB, free: 11.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.03833, allocations: 4 kB / 0.8412 GB, free: 11.04 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.03859, allocations: 83.89 kB / 0.8413 GB, free: 10.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.0386, allocations: 12.16 kB / 0.8413 GB, free: 10.94 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.03876, allocations: 27.84 kB / 0.8414 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.03878, allocations: 8 kB / 0.8414 GB, free: 10.91 MB / 0.823 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.0001175/0.0389, allocations: 140.5 kB / 0.8415 GB, free: 10.76 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.03896, allocations: 35.97 kB / 0.8415 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.03941, allocations: 258.8 kB / 0.8418 GB, free: 10.46 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.03942, allocations: 8 kB / 0.8418 GB, free: 10.46 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.03942, allocations: 0 / 0.8418 GB, free: 10.46 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002587/0.03968, allocations: 394.3 kB / 0.8422 GB, free: 10 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009478/0.04063, allocations: 0.6846 MB / 0.8428 GB, free: 9.273 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.04063, allocations: 0 / 0.8428 GB, free: 9.273 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.04083, allocations: 60.09 kB / 0.8429 GB, free: 9.215 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.04095, allocations: 67.62 kB / 0.843 GB, free: 9.148 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.04095, allocations: 4 kB / 0.843 GB, free: 9.145 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.04097, allocations: 11.98 kB / 0.843 GB, free: 9.133 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.04098, allocations: 7.938 kB / 0.843 GB, free: 9.125 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.04098, allocations: 4 kB / 0.843 GB, free: 9.121 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.04139, allocations: 410.8 kB / 0.8434 GB, free: 8.684 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.04144, allocations: 8 kB / 0.8434 GB, free: 8.676 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.0416, allocations: 12.08 kB / 0.8434 GB, free: 8.664 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.04164, allocations: 27.89 kB / 0.8434 GB, free: 8.637 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.04167, allocations: 15.98 kB / 0.8434 GB, free: 8.621 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001537/0.04182, allocations: 151.5 kB / 0.8436 GB, free: 8.473 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.04182, allocations: 3.938 kB / 0.8436 GB, free: 8.469 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000512/0.04233, allocations: 179.5 kB / 0.8438 GB, free: 8.293 MB / 0.823 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0003371/0.04267, allocations: 187.9 kB / 0.8439 GB, free: 8.102 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.04292, allocations: 148.6 kB / 0.8441 GB, free: 7.953 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/0.04293, allocations: 8 kB / 0.8441 GB, free: 7.945 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.04305, allocations: 93.25 kB / 0.8442 GB, free: 7.852 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/0.04387, allocations: 279.7 kB / 0.8444 GB, free: 7.574 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/0.04929, allocations: 0.8768 MB / 0.8453 GB, free: 6.645 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.947e-05/0.04939, allocations: 133.7 kB / 0.8454 GB, free: 6.496 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002854/0.04967, allocations: 84.17 kB / 0.8455 GB, free: 6.414 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/0.05013, allocations: 227.1 kB / 0.8457 GB, free: 6.191 MB / 0.823 GB Notification: Performance of SimCode: time 1.042e-06/0.05013, allocations: 0 / 0.8457 GB, free: 6.191 MB / 0.823 GB Notification: Performance of Templates: time 0.01703/0.06716, allocations: 11.11 MB / 0.8566 GB, free: 11.32 MB / 0.8386 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.569439402781427]