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.0008802/0.0008802, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008533/0.0008533, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8591/0.8591, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.748/1.748, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] 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.714e-06/1.714e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.831e-05, allocations: 6.219 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.001996/0.002014, allocations: 1.965 MB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008178/0.002832, allocations: 0.705 MB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.002916, allocations: 3.938 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.003028, allocations: 19.8 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.354e-05/0.003091, allocations: 23.8 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.003398, allocations: 103.6 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.003532, allocations: 151.6 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.003657, allocations: 61.02 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.003791, allocations: 95.72 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.00385, allocations: 47.86 kB / 1.004 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.003871, allocations: 19.94 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.003966, allocations: 63.89 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.004038, allocations: 71.73 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.004079, allocations: 55.78 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.004311, allocations: 275.1 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004313, allocations: 0 / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004314, allocations: 0 / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.004317, allocations: 0 / 1.004 GB, free: 9.324 MB / 0.9636 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.0005327/0.00485, allocations: 496.9 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.004882, allocations: 8.75 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009186/0.0058, allocations: 0.644 MB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.006081, allocations: 276.9 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.313e-05/0.006164, allocations: 143.5 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.006184, allocations: 8.375 kB / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.00665, allocations: 455.6 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.006659, allocations: 4.125 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.00668, allocations: 8.125 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.006684, allocations: 4 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/0.007339, allocations: 0.6406 MB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.008376, allocations: 0.9944 MB / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.008749, allocations: 346.1 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.009062, allocations: 316.5 kB / 1.009 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.009079, allocations: 7.938 kB / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.009099, allocations: 42.48 kB / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.009101, allocations: 0 / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.001039/0.01014, allocations: 0.9654 MB / 1.01 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.01017, allocations: 55.41 kB / 1.01 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.01037, allocations: 293.9 kB / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.01038, allocations: 25.7 kB / 1.01 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.01045, allocations: 151.9 kB / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.01048, allocations: 27.94 kB / 1.01 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/0.01055, allocations: 77.62 kB / 1.01 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.01062, allocations: 330.8 kB / 1.011 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.01094, allocations: 315.6 kB / 1.011 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.01124, allocations: 311.7 kB / 1.011 GB, free: 2.258 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/0.0118, allocations: 0.5314 MB / 1.012 GB, free: 1.723 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.0118, allocations: 0 / 1.012 GB, free: 1.723 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006612/0.01246, allocations: 0.6686 MB / 1.012 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.01247, allocations: 8 kB / 1.012 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01248, allocations: 0 / 1.012 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.01249, allocations: 0 / 1.012 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.01271, allocations: 167.6 kB / 1.013 GB, free: 0.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.01271, allocations: 0 / 1.013 GB, free: 0.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.01286, allocations: 123.7 kB / 1.013 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/0.01295, allocations: 139.7 kB / 1.013 GB, free: 0.6172 MB / 0.9636 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 9.174e-05/0.01304, allocations: 141.8 kB / 1.013 GB, free: 480 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.01307, allocations: 27.8 kB / 1.013 GB, free: 452 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.0131, allocations: 25.75 kB / 1.013 GB, free: 428 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.0131, allocations: 0 / 1.013 GB, free: 428 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.0131, allocations: 0 / 1.013 GB, free: 428 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.0131, allocations: 3.938 kB / 1.013 GB, free: 424 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.01335, allocations: 360.3 kB / 1.013 GB, free: 32 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.01335, allocations: 0 / 1.013 GB, free: 32 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.01354, allocations: 167.7 kB / 1.013 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01354, allocations: 0 / 1.013 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.01356, allocations: 31.91 kB / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01356, allocations: 0 / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.01356, allocations: 0 / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/0.01426, allocations: 0.7604 MB / 1.014 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.01429, allocations: 23.86 kB / 1.014 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.01431, allocations: 3.938 kB / 1.014 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.01447, allocations: 115.8 kB / 1.014 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.01451, allocations: 11.98 kB / 1.014 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/0.01468, allocations: 143.7 kB / 1.015 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001309/0.01481, allocations: 213.2 kB / 1.015 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01481, allocations: 0 / 1.015 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000184/0.01499, allocations: 39.89 kB / 1.015 GB, free: 14.52 MB / 0.9792 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.0001066/0.0151, allocations: 99.25 kB / 1.015 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006802/0.01578, allocations: 0.6476 MB / 1.015 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01578, allocations: 0 / 1.015 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.0161, allocations: 343.5 kB / 1.016 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.01629, allocations: 16.44 kB / 1.016 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/0.01701, allocations: 0.6841 MB / 1.016 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.815e-05/0.0171, allocations: 132.7 kB / 1.017 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.01722, allocations: 92.38 kB / 1.017 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of SimCode: time 5.11e-07/0.01722, allocations: 0 / 1.017 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of Templates: time 0.00352/0.02075, allocations: 3.909 MB / 1.021 GB, free: 8.547 MB / 0.9792 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: 7.232898815535009]