Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.001379/0.001379, allocations: 113 kB / 17.6 MB, free: 4.684 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.001337/0.001337, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.5/1.5, allocations: 225.6 MB / 249.4 MB, free: 3.133 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.801/2.801, allocations: 476.7 MB / 0.7629 GB, free: 15.11 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.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 63.91 kB / 1.107 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.122, allocations: 168.7 MB / 1.272 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003057/1.125, allocations: 2.001 MB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001128/1.126, allocations: 0.7083 MB / 1.275 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.729e-05/1.126, allocations: 2.031 kB / 1.275 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/1.127, allocations: 20.58 kB / 1.275 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.773e-05/1.127, allocations: 22.53 kB / 1.275 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/1.127, allocations: 85.02 kB / 1.275 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/1.127, allocations: 148.5 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/1.127, allocations: 67.33 kB / 1.275 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/1.127, allocations: 67.61 kB / 1.275 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/1.127, allocations: 71.45 kB / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/1.127, allocations: 14.38 kB / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/1.128, allocations: 67.81 kB / 1.275 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/1.128, allocations: 74.7 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.769e-05/1.128, allocations: 92.03 kB / 1.275 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/1.128, allocations: 269.2 kB / 1.276 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.128, allocations: 0.875 kB / 1.276 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/1.128, allocations: 4 kB / 1.276 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.282e-06/1.128, allocations: 0 / 1.276 GB, free: 5.516 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006944/1.129, allocations: 0.538 MB / 1.276 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/1.129, allocations: 9.375 kB / 1.276 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/1.131, allocations: 432.8 kB / 1.277 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/1.131, allocations: 313 kB / 1.277 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.703e-05/1.131, allocations: 70.78 kB / 1.277 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/1.131, allocations: 12.06 kB / 1.277 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008798/1.132, allocations: 385.4 kB / 1.277 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/1.132, allocations: 0.8438 kB / 1.277 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/1.132, allocations: 4.969 kB / 1.277 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/1.132, allocations: 3.953 kB / 1.277 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/1.133, allocations: 0.5385 MB / 1.278 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/1.135, allocations: 1.006 MB / 1.279 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007316/1.136, allocations: 289.2 kB / 1.279 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/1.137, allocations: 269.5 kB / 1.279 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/1.137, allocations: 0.7031 kB / 1.279 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/1.137, allocations: 39.94 kB / 1.279 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/1.137, allocations: 0 / 1.279 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.001986/1.139, allocations: 0.7854 MB / 1.28 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/1.139, allocations: 54.38 kB / 1.28 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/1.139, allocations: 297.9 kB / 1.28 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/1.139, allocations: 25.7 kB / 1.281 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/1.139, allocations: 158.2 kB / 1.281 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/1.139, allocations: 19.88 kB / 1.281 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-05/1.139, allocations: 41.75 kB / 1.281 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/1.139, allocations: 338.8 kB / 1.281 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/1.14, allocations: 258.1 kB / 1.281 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/1.14, allocations: 257.5 kB / 1.282 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/1.142, allocations: 441.5 kB / 1.282 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.142, allocations: 0 / 1.282 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001219/1.143, allocations: 0.5404 MB / 1.282 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.143, allocations: 4.609 kB / 1.282 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.143, allocations: 7.875 kB / 1.282 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.143, allocations: 5.375 kB / 1.282 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/1.143, allocations: 88.92 kB / 1.283 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.143, allocations: 0 / 1.283 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/1.144, allocations: 75.77 kB / 1.283 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/1.144, allocations: 8.625 kB / 1.283 GB, free: 2.465 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000142/1.144, allocations: 145.9 kB / 1.283 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/1.144, allocations: 25.55 kB / 1.283 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/1.144, allocations: 29.17 kB / 1.283 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/1.144, allocations: 0 / 1.283 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.144, allocations: 0 / 1.283 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.144, allocations: 2.062 kB / 1.283 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/1.144, allocations: 437 kB / 1.283 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/1.144, allocations: 0 / 1.283 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/1.145, allocations: 93.66 kB / 1.283 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.145, allocations: 1.031 kB / 1.283 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/1.145, allocations: 8.688 kB / 1.283 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.145, allocations: 0 / 1.283 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.145, allocations: 4.609 kB / 1.283 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/1.146, allocations: 0.6372 MB / 1.284 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/1.146, allocations: 102.7 kB / 1.284 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/1.146, allocations: 0 / 1.284 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/1.147, allocations: 77.45 kB / 1.284 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/1.147, allocations: 5.484 kB / 1.284 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/1.147, allocations: 8.484 kB / 1.284 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002144/1.147, allocations: 218 kB / 1.284 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.147, allocations: 0 / 1.284 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003191/1.147, allocations: 44.42 kB / 1.284 GB, free: 1.516 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001722/1.147, allocations: 108.8 kB / 1.285 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001349/1.149, allocations: 0.5269 MB / 1.285 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.149, allocations: 0 / 1.285 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006762/1.149, allocations: 274 kB / 1.285 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/1.15, allocations: 17.72 kB / 1.285 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/1.151, allocations: 0.5988 MB / 1.286 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/1.151, allocations: 0.7455 MB / 1.287 GB, free: 284 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000179/1.151, allocations: 58.67 kB / 1.287 GB, free: 264 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.151, allocations: 27.25 kB / 1.287 GB, free: 256 kB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.151, allocations: 3.938 kB / 1.287 GB, free: 252 kB / 0.9981 GB Notification: Performance of Templates: time 0.006917/1.158, allocations: 2.888 MB / 1.29 GB, free: 16 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.352302771061659]