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.001817/0.001817, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002122/0.002122, allocations: 154.8 kB / 23.01 MB, free: 4.949 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: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.814/2.814, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002148/0.002148, allocations: 67.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01958/1.038, allocations: 21.65 MB / 1.175 GB, free: 18.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008484/1.047, allocations: 4.738 MB / 1.18 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/1.048, allocations: 41.09 kB / 1.18 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009727/1.049, allocations: 286.3 kB / 1.18 GB, free: 15.34 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002514/1.051, allocations: 0.8322 MB / 1.181 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002116/1.054, allocations: 0.7796 MB / 1.182 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002814/1.056, allocations: 1.644 MB / 1.183 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007652/1.057, allocations: 389.9 kB / 1.184 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/1.059, allocations: 0.7445 MB / 1.184 GB, free: 13.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007924/1.06, allocations: 441.9 kB / 1.185 GB, free: 12.99 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.065e-05/1.06, allocations: 46.75 kB / 1.185 GB, free: 12.99 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/1.062, allocations: 412 kB / 1.185 GB, free: 12.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/1.062, allocations: 140.8 kB / 1.185 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003608/1.062, allocations: 263.7 kB / 1.186 GB, free: 12.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/1.064, allocations: 0.9317 MB / 1.186 GB, free: 12.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.064, allocations: 0.6094 kB / 1.186 GB, free: 12.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.723e-06/1.064, allocations: 0 / 1.186 GB, free: 12.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.042e-05/1.064, allocations: 0 / 1.186 GB, free: 12.3 MB / 1.076 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.001369/1.065, allocations: 0.836 MB / 1.187 GB, free: 11.7 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.065, allocations: 9.375 kB / 1.187 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002778/1.065, allocations: 72.22 kB / 1.187 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/1.067, allocations: 0.5185 MB / 1.188 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/1.067, allocations: 34.31 kB / 1.188 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/1.067, allocations: 39.41 kB / 1.188 GB, free: 11.31 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007636/1.067, allocations: 0.4985 MB / 1.188 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.067, allocations: 3.938 kB / 1.188 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/1.067, allocations: 20.78 kB / 1.188 GB, free: 10.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/1.068, allocations: 10.41 kB / 1.188 GB, free: 10.99 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005146/1.068, allocations: 301.3 kB / 1.189 GB, free: 10.89 MB / 1.076 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.002496/1.071, allocations: 1.44 MB / 1.19 GB, free: 9.961 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/1.071, allocations: 248.5 kB / 1.19 GB, free: 9.855 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/1.071, allocations: 112.3 kB / 1.19 GB, free: 9.812 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004977/1.072, allocations: 109.8 kB / 1.191 GB, free: 9.793 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/1.072, allocations: 37.53 kB / 1.191 GB, free: 9.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=26): time 1.754e-06/1.072, allocations: 0 / 1.191 GB, free: 9.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=26): time 0.0007628/1.073, allocations: 367.8 kB / 1.191 GB, free: 9.598 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/1.073, allocations: 54.91 kB / 1.191 GB, free: 9.535 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/1.073, allocations: 404.7 kB / 1.191 GB, free: 9.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/1.073, allocations: 32.08 kB / 1.191 GB, free: 9.305 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/1.073, allocations: 271.9 kB / 1.192 GB, free: 9.082 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/1.073, allocations: 102.7 kB / 1.192 GB, free: 9 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/1.073, allocations: 70.55 kB / 1.192 GB, free: 8.961 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.507e-05/1.074, allocations: 354.2 kB / 1.192 GB, free: 8.629 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/1.074, allocations: 101.6 kB / 1.192 GB, free: 8.594 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/1.074, allocations: 244.9 kB / 1.193 GB, free: 8.398 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/1.074, allocations: 276.3 kB / 1.193 GB, free: 8.238 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.074, allocations: 1.219 kB / 1.193 GB, free: 8.238 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006175/1.075, allocations: 365.5 kB / 1.193 GB, free: 8.074 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/1.075, allocations: 6.484 kB / 1.193 GB, free: 8.074 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.075, allocations: 2.156 kB / 1.193 GB, free: 8.074 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/1.075, allocations: 3.688 kB / 1.193 GB, free: 8.074 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/1.075, allocations: 74.2 kB / 1.193 GB, free: 8.066 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/1.075, allocations: 8.234 kB / 1.193 GB, free: 8.062 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/1.076, allocations: 37.3 kB / 1.193 GB, free: 8.035 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/1.076, allocations: 21.69 kB / 1.193 GB, free: 8.027 MB / 1.076 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.0001861/1.076, allocations: 176 kB / 1.193 GB, free: 7.879 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.958e-05/1.076, allocations: 43.81 kB / 1.193 GB, free: 7.855 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000859/1.077, allocations: 485.2 kB / 1.194 GB, free: 7.652 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/1.077, allocations: 4.453 kB / 1.194 GB, free: 7.652 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.077, allocations: 5.734 kB / 1.194 GB, free: 7.648 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005754/1.077, allocations: 0.5697 MB / 1.195 GB, free: 7.207 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/1.079, allocations: 0.9477 MB / 1.195 GB, free: 6.676 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.079, allocations: 7.094 kB / 1.195 GB, free: 6.672 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/1.079, allocations: 53.83 kB / 1.195 GB, free: 6.664 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.079, allocations: 3.281 kB / 1.196 GB, free: 6.664 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/1.079, allocations: 10.47 kB / 1.196 GB, free: 6.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.079, allocations: 3.281 kB / 1.196 GB, free: 6.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.079, allocations: 2.703 kB / 1.196 GB, free: 6.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009095/1.08, allocations: 0.6843 MB / 1.196 GB, free: 6.27 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/1.081, allocations: 96.05 kB / 1.196 GB, free: 6.215 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/1.081, allocations: 8.734 kB / 1.196 GB, free: 6.211 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/1.081, allocations: 18.3 kB / 1.196 GB, free: 6.199 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/1.081, allocations: 25.14 kB / 1.196 GB, free: 6.195 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/1.081, allocations: 14.16 kB / 1.196 GB, free: 6.195 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003488/1.081, allocations: 278.2 kB / 1.197 GB, free: 6.059 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.081, allocations: 0.9062 kB / 1.197 GB, free: 6.059 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009034/1.082, allocations: 216.4 kB / 1.197 GB, free: 6 MB / 1.076 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.0005005/1.083, allocations: 272.6 kB / 1.197 GB, free: 5.852 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005492/1.083, allocations: 289.8 kB / 1.197 GB, free: 5.758 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.083, allocations: 1.188 kB / 1.197 GB, free: 5.758 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/1.084, allocations: 157 kB / 1.197 GB, free: 5.707 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/1.085, allocations: 255.7 kB / 1.198 GB, free: 5.625 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/1.086, allocations: 1.063 MB / 1.199 GB, free: 4.953 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/1.087, allocations: 263.9 kB / 1.199 GB, free: 4.848 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003735/1.087, allocations: 112.1 kB / 1.199 GB, free: 4.812 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/1.087, allocations: 51.08 kB / 1.199 GB, free: 4.801 MB / 1.076 GB Notification: Performance of SimCode: time 8.42e-07/1.087, allocations: 1.094 kB / 1.199 GB, free: 4.801 MB / 1.076 GB Notification: Performance of Templates: time 0.0234/1.111, allocations: 10.79 MB / 1.21 GB, free: 3.398 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.414202390005812]