Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.00141/0.00141, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001535/0.001535, allocations: 162.5 kB / 22.45 MB, free: 5.375 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.485/1.485, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.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.073/3.073, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/2.985e-05, allocations: 2.281 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003482/0.003511, allocations: 1.959 MB / 1.002 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.005045, allocations: 0.7011 MB / 1.003 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.275e-05/0.005138, allocations: 0 / 1.003 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.005272, allocations: 31.73 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.192e-05/0.005364, allocations: 27.72 kB / 1.003 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.005749, allocations: 95.77 kB / 1.003 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.005967, allocations: 155.5 kB / 1.003 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.006128, allocations: 57 kB / 1.003 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.006332, allocations: 103.7 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.031e-05/0.006422, allocations: 51.8 kB / 1.003 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.006456, allocations: 16 kB / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.006608, allocations: 63.95 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.00672, allocations: 67.75 kB / 1.003 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.006792, allocations: 51.84 kB / 1.003 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.007189, allocations: 282.9 kB / 1.004 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.007192, allocations: 0 / 1.004 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.213e-06/0.007193, allocations: 0 / 1.004 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.007198, allocations: 0 / 1.004 GB, free: 3.59 MB / 0.9512 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.0008687/0.008067, allocations: 493 kB / 1.004 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.008107, allocations: 12.03 kB / 1.004 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.01024, allocations: 0.6401 MB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.01072, allocations: 268.9 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.01088, allocations: 143.6 kB / 1.005 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.01092, allocations: 4.375 kB / 1.005 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009926/0.01191, allocations: 451.5 kB / 1.006 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.01192, allocations: 4.172 kB / 1.006 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.01195, allocations: 12.12 kB / 1.006 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.01196, allocations: 7.984 kB / 1.006 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.01346, allocations: 0.6483 MB / 1.006 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.01535, allocations: 0.9945 MB / 1.007 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008083/0.01616, allocations: 342.2 kB / 1.008 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007335/0.01689, allocations: 320.4 kB / 1.008 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.01691, allocations: 4 kB / 1.008 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.01695, allocations: 38.48 kB / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.01696, allocations: 0 / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.002318/0.01927, allocations: 0.9729 MB / 1.009 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.01932, allocations: 55.34 kB / 1.009 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.01968, allocations: 293.9 kB / 1.009 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.01978, allocations: 29.7 kB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.01991, allocations: 156 kB / 1.009 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.01995, allocations: 23.8 kB / 1.009 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.02008, allocations: 73.62 kB / 1.01 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.02024, allocations: 330.8 kB / 1.01 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007134/0.02095, allocations: 315.6 kB / 1.01 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/0.02163, allocations: 311.6 kB / 1.01 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.02288, allocations: 0.5353 MB / 1.011 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02288, allocations: 0 / 1.011 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00151/0.02439, allocations: 0.6725 MB / 1.012 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.02443, allocations: 8 kB / 1.012 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.02444, allocations: 0 / 1.012 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.02446, allocations: 0 / 1.012 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.02494, allocations: 163.7 kB / 1.012 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.02495, allocations: 0 / 1.012 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.02532, allocations: 115.8 kB / 1.012 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.02549, allocations: 139.7 kB / 1.012 GB, free: 10.89 MB / 0.9669 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.0001843/0.02567, allocations: 138.4 kB / 1.012 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.02574, allocations: 27.8 kB / 1.012 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.02579, allocations: 25.77 kB / 1.012 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.0258, allocations: 4 kB / 1.012 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.0258, allocations: 0 / 1.012 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.0258, allocations: 0 / 1.012 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.0263, allocations: 360.2 kB / 1.013 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.0263, allocations: 0 / 1.013 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.02676, allocations: 167.7 kB / 1.013 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.02676, allocations: 0 / 1.013 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.0268, allocations: 27.91 kB / 1.013 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.02681, allocations: 0 / 1.013 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02681, allocations: 0 / 1.013 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.02848, allocations: 0.7647 MB / 1.013 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.02854, allocations: 19.86 kB / 1.013 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.02858, allocations: 15.81 kB / 1.014 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.02897, allocations: 115.8 kB / 1.014 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.02904, allocations: 4 kB / 1.014 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.02922, allocations: 139.7 kB / 1.014 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002615/0.02948, allocations: 213.2 kB / 1.014 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02948, allocations: 0 / 1.014 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003452/0.02982, allocations: 47.88 kB / 1.014 GB, free: 8.797 MB / 0.9669 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.0002554/0.03008, allocations: 103.2 kB / 1.014 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.03158, allocations: 0.6515 MB / 1.015 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.03158, allocations: 0 / 1.015 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008217/0.0324, allocations: 339.6 kB / 1.015 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.03271, allocations: 8.5 kB / 1.015 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.03414, allocations: 0.6512 MB / 1.016 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.0343, allocations: 140.7 kB / 1.016 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005634/0.03486, allocations: 388.8 kB / 1.016 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.03503, allocations: 64.42 kB / 1.016 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of SimCode: time 8.11e-07/0.03503, allocations: 0 / 1.016 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of Templates: time 0.007496/0.04253, allocations: 2.9 MB / 1.019 GB, free: 3.527 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.651439286768436]