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.001318/0.001318, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00148/0.00148, allocations: 222.5 kB / 22.99 MB, free: 4.914 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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.325/3.325, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 73.09 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3777, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.0296/0.4073, allocations: 21.64 MB / 1.386 GB, free: 7.863 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008945/0.4163, allocations: 4.746 MB / 1.39 GB, free: 3.105 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.4173, allocations: 39.62 kB / 1.39 GB, free: 3.066 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.4184, allocations: 278.1 kB / 1.391 GB, free: 2.793 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.4211, allocations: 0.8319 MB / 1.392 GB, free: 1.957 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.4233, allocations: 0.7867 MB / 1.392 GB, free: 1.176 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002575/0.4259, allocations: 1.633 MB / 1.394 GB, free: 15.54 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008345/0.4267, allocations: 394.1 kB / 1.394 GB, free: 15.15 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.4289, allocations: 0.752 MB / 1.395 GB, free: 14.4 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009487/0.4298, allocations: 446 kB / 1.395 GB, free: 13.96 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.43, allocations: 48 kB / 1.395 GB, free: 13.91 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.4312, allocations: 415.2 kB / 1.396 GB, free: 13.51 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.4314, allocations: 151.4 kB / 1.396 GB, free: 13.36 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.4319, allocations: 254.9 kB / 1.396 GB, free: 13.11 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.4337, allocations: 0.9303 MB / 1.397 GB, free: 12.18 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4337, allocations: 0 / 1.397 GB, free: 12.18 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4337, allocations: 0 / 1.397 GB, free: 12.18 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.517e-05/0.4337, allocations: 0 / 1.397 GB, free: 12.18 MB / 1.092 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.001708/0.4354, allocations: 0.8315 MB / 1.398 GB, free: 11.31 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4355, allocations: 12.03 kB / 1.398 GB, free: 11.3 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.4358, allocations: 72.52 kB / 1.398 GB, free: 11.23 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.437, allocations: 0.4998 MB / 1.399 GB, free: 10.7 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.4371, allocations: 32.94 kB / 1.399 GB, free: 10.67 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.4372, allocations: 43.95 kB / 1.399 GB, free: 10.63 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008583/0.438, allocations: 0.5134 MB / 1.399 GB, free: 10.08 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.438, allocations: 0 / 1.399 GB, free: 10.08 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.4381, allocations: 16 kB / 1.399 GB, free: 10.06 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.4381, allocations: 11.94 kB / 1.399 GB, free: 10.05 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/0.4387, allocations: 307.8 kB / 1.399 GB, free: 9.746 MB / 1.092 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.002984/0.4417, allocations: 1.443 MB / 1.401 GB, free: 8.258 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.4422, allocations: 243.8 kB / 1.401 GB, free: 8.012 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.4424, allocations: 112.8 kB / 1.401 GB, free: 7.898 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/0.4429, allocations: 103.9 kB / 1.401 GB, free: 7.797 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.4429, allocations: 38.56 kB / 1.401 GB, free: 7.75 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.4429, allocations: 3.938 kB / 1.401 GB, free: 7.746 MB / 1.092 GB Notification: Performance of matching and sorting (n=26): time 0.0007486/0.4437, allocations: 367.4 kB / 1.402 GB, free: 7.383 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.4437, allocations: 55.41 kB / 1.402 GB, free: 7.316 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.4442, allocations: 401.8 kB / 1.402 GB, free: 6.918 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.4443, allocations: 33.7 kB / 1.402 GB, free: 6.879 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.4445, allocations: 280.4 kB / 1.402 GB, free: 6.598 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.4446, allocations: 99.23 kB / 1.402 GB, free: 6.5 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.4447, allocations: 70.03 kB / 1.403 GB, free: 6.426 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.4449, allocations: 354.8 kB / 1.403 GB, free: 6.07 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.4451, allocations: 92.61 kB / 1.403 GB, free: 5.98 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.4454, allocations: 245.2 kB / 1.403 GB, free: 5.699 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.4458, allocations: 275.2 kB / 1.403 GB, free: 5.406 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4458, allocations: 4 kB / 1.403 GB, free: 5.402 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006095/0.4464, allocations: 369.1 kB / 1.404 GB, free: 5.035 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4464, allocations: 4 kB / 1.404 GB, free: 5.031 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4464, allocations: 4 kB / 1.404 GB, free: 5.027 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4465, allocations: 0 / 1.404 GB, free: 5.027 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.4467, allocations: 75.91 kB / 1.404 GB, free: 4.953 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.4467, allocations: 8.141 kB / 1.404 GB, free: 4.945 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.447, allocations: 35.78 kB / 1.404 GB, free: 4.91 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.447, allocations: 12 kB / 1.404 GB, free: 4.898 MB / 1.092 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.0002186/0.4472, allocations: 181.8 kB / 1.404 GB, free: 4.711 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.954e-05/0.4473, allocations: 43.72 kB / 1.404 GB, free: 4.668 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008301/0.4482, allocations: 484.4 kB / 1.405 GB, free: 4.188 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.4482, allocations: 8 kB / 1.405 GB, free: 4.18 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4482, allocations: 7.875 kB / 1.405 GB, free: 4.172 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006158/0.4488, allocations: 0.5725 MB / 1.405 GB, free: 3.531 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.4505, allocations: 0.9517 MB / 1.406 GB, free: 2.523 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.4505, allocations: 3.938 kB / 1.406 GB, free: 2.52 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.4508, allocations: 55.91 kB / 1.406 GB, free: 2.465 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.4508, allocations: 4 kB / 1.406 GB, free: 2.461 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.4508, allocations: 8 kB / 1.406 GB, free: 2.453 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.4508, allocations: 4 kB / 1.406 GB, free: 2.449 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4508, allocations: 3.984 kB / 1.406 GB, free: 2.445 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009112/0.4517, allocations: 0.6688 MB / 1.407 GB, free: 1.742 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.4519, allocations: 91.58 kB / 1.407 GB, free: 1.652 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.452, allocations: 12.09 kB / 1.407 GB, free: 1.641 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.4522, allocations: 19.92 kB / 1.407 GB, free: 1.621 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.4523, allocations: 27.89 kB / 1.407 GB, free: 1.594 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.4523, allocations: 16 kB / 1.407 GB, free: 1.578 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003378/0.4526, allocations: 279.1 kB / 1.407 GB, free: 1.309 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4526, allocations: 0 / 1.407 GB, free: 1.309 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006552/0.4533, allocations: 207.5 kB / 1.407 GB, free: 1.105 MB / 1.092 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.0005135/0.4538, allocations: 278.9 kB / 1.408 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005384/0.4543, allocations: 283.9 kB / 1.408 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4543, allocations: 3.938 kB / 1.408 GB, free: 0.543 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.4546, allocations: 164.4 kB / 1.408 GB, free: 392 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.4558, allocations: 252 kB / 1.408 GB, free: 152 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.4577, allocations: 1.1 MB / 1.41 GB, free: 15 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.458, allocations: 262.2 kB / 1.41 GB, free: 14.72 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.4581, allocations: 51.36 kB / 1.41 GB, free: 14.67 MB / 1.107 GB Notification: Performance of SimCode: time 5.11e-07/0.4581, allocations: 4 kB / 1.41 GB, free: 14.66 MB / 1.107 GB Notification: Performance of Templates: time 0.01541/0.4735, allocations: 9.194 MB / 1.419 GB, free: 5.531 MB / 1.107 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 800] 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 [Calling sys.exit(0), Time elapsed: 12.954993589781225]