Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.78/2.78, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003157/0.003157, allocations: 67.91 kB / 1.107 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19/1.193, allocations: 168.7 MB / 1.272 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02697/1.22, allocations: 23.64 MB / 1.295 GB, free: 7.113 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009426/1.23, allocations: 5.131 MB / 1.3 GB, free: 3.477 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/1.231, allocations: 23.88 kB / 1.3 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/1.232, allocations: 293.6 kB / 1.3 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002697/1.235, allocations: 0.8238 MB / 1.301 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00235/1.237, allocations: 0.7839 MB / 1.302 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002614/1.24, allocations: 1.621 MB / 1.304 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007523/1.24, allocations: 390.5 kB / 1.304 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/1.242, allocations: 0.6386 MB / 1.305 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009032/1.243, allocations: 476.2 kB / 1.305 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/1.243, allocations: 45.75 kB / 1.305 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/1.245, allocations: 0.4954 MB / 1.306 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002126/1.245, allocations: 146.6 kB / 1.306 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004038/1.246, allocations: 307.4 kB / 1.306 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001772/1.247, allocations: 0.9271 MB / 1.307 GB, free: 172 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.247, allocations: 0 / 1.307 GB, free: 172 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.834e-06/1.247, allocations: 6.016 kB / 1.307 GB, free: 168 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.05e-05/1.247, allocations: 0 / 1.307 GB, free: 168 kB / 1.014 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.001623/1.249, allocations: 0.9065 MB / 1.308 GB, free: 15.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.249, allocations: 9.219 kB / 1.308 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/1.249, allocations: 72.67 kB / 1.308 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/1.25, allocations: 0.5725 MB / 1.308 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/1.25, allocations: 36.92 kB / 1.308 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.763e-05/1.251, allocations: 42.27 kB / 1.308 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008294/1.251, allocations: 439.6 kB / 1.309 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/1.251, allocations: 1.312 kB / 1.309 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/1.251, allocations: 15.94 kB / 1.309 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/1.251, allocations: 10.42 kB / 1.309 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005664/1.252, allocations: 303 kB / 1.309 GB, free: 14.69 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.003197/1.255, allocations: 1.917 MB / 1.311 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/1.256, allocations: 240.9 kB / 1.311 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/1.256, allocations: 111 kB / 1.311 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/1.257, allocations: 0.8548 MB / 1.312 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/1.257, allocations: 34.25 kB / 1.312 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 2.274e-06/1.257, allocations: 0 / 1.312 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=26): time 0.0008595/1.258, allocations: 375.8 kB / 1.313 GB, free: 12.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/1.258, allocations: 57.97 kB / 1.313 GB, free: 11.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/1.259, allocations: 484.7 kB / 1.313 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/1.259, allocations: 36.23 kB / 1.313 GB, free: 11.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/1.259, allocations: 260.8 kB / 1.313 GB, free: 11.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/1.259, allocations: 98.67 kB / 1.314 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/1.259, allocations: 74.03 kB / 1.314 GB, free: 11.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002007/1.259, allocations: 357 kB / 1.314 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/1.26, allocations: 97.34 kB / 1.314 GB, free: 10.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/1.26, allocations: 169.4 kB / 1.314 GB, free: 10.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/1.26, allocations: 288.7 kB / 1.314 GB, free: 10.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.26, allocations: 0 / 1.314 GB, free: 10.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006189/1.261, allocations: 366.1 kB / 1.315 GB, free: 10.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.261, allocations: 7.031 kB / 1.315 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.261, allocations: 3.266 kB / 1.315 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.261, allocations: 2.406 kB / 1.315 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/1.261, allocations: 83.28 kB / 1.315 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/1.261, allocations: 3.391 kB / 1.315 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/1.262, allocations: 35.44 kB / 1.315 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-05/1.262, allocations: 17.17 kB / 1.315 GB, free: 10.51 MB / 1.029 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.0002494/1.262, allocations: 179.9 kB / 1.315 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/1.262, allocations: 52.64 kB / 1.315 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009014/1.263, allocations: 477.8 kB / 1.316 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/1.263, allocations: 9.266 kB / 1.316 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.263, allocations: 0 / 1.316 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006923/1.264, allocations: 0.5654 MB / 1.316 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/1.266, allocations: 1.159 MB / 1.317 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.266, allocations: 2.312 kB / 1.317 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/1.266, allocations: 54.31 kB / 1.317 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/1.266, allocations: 2.984 kB / 1.317 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/1.266, allocations: 10.52 kB / 1.317 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/1.266, allocations: 3.953 kB / 1.317 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.266, allocations: 1.656 kB / 1.317 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/1.267, allocations: 0.6774 MB / 1.318 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/1.267, allocations: 174.4 kB / 1.318 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.44e-05/1.267, allocations: 9.391 kB / 1.318 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/1.268, allocations: 9.406 kB / 1.318 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/1.268, allocations: 28.53 kB / 1.318 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/1.268, allocations: 25.89 kB / 1.318 GB, free: 8.371 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005099/1.268, allocations: 344.8 kB / 1.319 GB, free: 8.211 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.268, allocations: 0 / 1.319 GB, free: 8.211 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00108/1.269, allocations: 198.2 kB / 1.319 GB, free: 8.168 MB / 1.029 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.0008233/1.27, allocations: 307 kB / 1.319 GB, free: 8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006199/1.271, allocations: 273.9 kB / 1.319 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.271, allocations: 0 / 1.319 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002744/1.271, allocations: 153.9 kB / 1.32 GB, free: 7.867 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/1.273, allocations: 343.8 kB / 1.32 GB, free: 7.762 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/1.275, allocations: 1.086 MB / 1.321 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/1.275, allocations: 0.8659 MB / 1.322 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004717/1.276, allocations: 123.5 kB / 1.322 GB, free: 6.328 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/1.276, allocations: 55.58 kB / 1.322 GB, free: 6.316 MB / 1.029 GB Notification: Performance of SimCode: time 8.52e-07/1.276, allocations: 0 / 1.322 GB, free: 6.316 MB / 1.029 GB Notification: Performance of Templates: time 0.03082/1.307, allocations: 12.43 MB / 1.334 GB, free: 4.512 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.939923606812954]