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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,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=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008943/0.008943, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 192.2 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.554/2.554, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.99/0.9913, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00412/0.9955, allocations: 1.988 MB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.9972, allocations: 0.6818 MB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.9973, allocations: 3.938 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.9975, allocations: 23.78 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.9976, allocations: 23.73 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.998, allocations: 91.84 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.9984, allocations: 151.6 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.9986, allocations: 80.61 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.9988, allocations: 63.7 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.9989, allocations: 71.62 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.999, allocations: 12 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.9991, allocations: 59.95 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.9993, allocations: 71.75 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.9994, allocations: 91.41 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.9998, allocations: 272.8 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9998, allocations: 4 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9998, allocations: 0 / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.9999, allocations: 0 / 1.211 GB, free: 10.09 MB / 0.9356 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.001005/1.001, allocations: 0.5258 MB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.001, allocations: 12.03 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/1.003, allocations: 427.8 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/1.003, allocations: 307.8 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.311e-05/1.003, allocations: 76.17 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/1.003, allocations: 8.375 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009192/1.004, allocations: 383.3 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.004, allocations: 3.938 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/1.004, allocations: 8 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/1.004, allocations: 3.984 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/1.006, allocations: 0.5428 MB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/1.008, allocations: 0.9977 MB / 1.215 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007711/1.008, allocations: 294.2 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006616/1.009, allocations: 276.6 kB / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/1.009, allocations: 4.141 kB / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.009, allocations: 30.56 kB / 1.215 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/1.009, allocations: 0 / 1.215 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.001969/1.011, allocations: 0.7897 MB / 1.216 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/1.011, allocations: 55.34 kB / 1.216 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004167/1.011, allocations: 294.7 kB / 1.216 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/1.012, allocations: 25.7 kB / 1.216 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/1.012, allocations: 156 kB / 1.216 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/1.012, allocations: 19.73 kB / 1.216 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.125e-05/1.012, allocations: 41.67 kB / 1.216 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002397/1.012, allocations: 334.8 kB / 1.217 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/1.013, allocations: 263.7 kB / 1.217 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/1.013, allocations: 259.8 kB / 1.217 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/1.014, allocations: 436.9 kB / 1.218 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.014, allocations: 4 kB / 1.218 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001266/1.016, allocations: 0.5321 MB / 1.218 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.016, allocations: 4 kB / 1.218 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.016, allocations: 3.938 kB / 1.218 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.016, allocations: 4 kB / 1.218 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/1.016, allocations: 95.83 kB / 1.218 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.016, allocations: 0 / 1.218 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/1.017, allocations: 71.88 kB / 1.218 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/1.017, allocations: 7.969 kB / 1.218 GB, free: 2.633 MB / 0.9356 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.0001517/1.017, allocations: 141.8 kB / 1.218 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/1.017, allocations: 23.72 kB / 1.219 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/1.017, allocations: 33.64 kB / 1.219 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.017, allocations: 3.984 kB / 1.219 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.017, allocations: 0 / 1.219 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.017, allocations: 0 / 1.219 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/1.018, allocations: 440.4 kB / 1.219 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/1.018, allocations: 0 / 1.219 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/1.018, allocations: 95.83 kB / 1.219 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/1.018, allocations: 4 kB / 1.219 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/1.018, allocations: 7.984 kB / 1.219 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.018, allocations: 7.922 kB / 1.219 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.018, allocations: 4 kB / 1.219 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/1.019, allocations: 0.6237 MB / 1.22 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/1.019, allocations: 104.8 kB / 1.22 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/1.02, allocations: 4 kB / 1.22 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/1.02, allocations: 71.81 kB / 1.22 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/1.02, allocations: 11.98 kB / 1.22 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/1.02, allocations: 7.984 kB / 1.22 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002256/1.02, allocations: 217.9 kB / 1.22 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/1.02, allocations: 0 / 1.22 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003186/1.021, allocations: 47.91 kB / 1.22 GB, free: 0.7188 MB / 0.9356 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.0001823/1.021, allocations: 99.25 kB / 1.22 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001313/1.022, allocations: 0.5307 MB / 1.221 GB, free: 84 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.022, allocations: 0 / 1.221 GB, free: 84 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006733/1.023, allocations: 279.7 kB / 1.221 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/1.023, allocations: 20.25 kB / 1.221 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/1.024, allocations: 0.5833 MB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/1.025, allocations: 0.7474 MB / 1.222 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000183/1.025, allocations: 53.42 kB / 1.222 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/1.025, allocations: 31.41 kB / 1.222 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/1.025, allocations: 0 / 1.222 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of Templates: time 0.006071/1.031, allocations: 2.859 MB / 1.225 GB, free: 11.47 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) 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) Reference file matches