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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001519/0.001519, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.00175/0.001751, allocations: 193.1 kB / 16.14 MB, free: 6.715 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 472.6 MB / 0.7447 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 64.69 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3506, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003542/0.3542, allocations: 2.029 MB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3555, allocations: 0.6819 MB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.3557, allocations: 4 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.3558, allocations: 15.86 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.974e-05/0.3559, allocations: 19.84 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.3562, allocations: 71.88 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.3564, allocations: 143.6 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.3566, allocations: 80.61 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3568, allocations: 59.7 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3569, allocations: 67.62 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.3569, allocations: 8 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.3571, allocations: 51.95 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.51e-05/0.3572, allocations: 59.81 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.675e-05/0.3573, allocations: 91.28 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.3576, allocations: 255.4 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3576, allocations: 0 / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.52e-07/0.3576, allocations: 0 / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3576, allocations: 4 kB / 1.071 GB, free: 7.125 MB / 0.8262 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.0008292/0.3585, allocations: 0.5258 MB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3585, allocations: 12.03 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.3604, allocations: 423.8 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.3609, allocations: 307.8 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.236e-05/0.361, allocations: 76.17 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.361, allocations: 12.31 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009293/0.362, allocations: 387.3 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.362, allocations: 3.938 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.362, allocations: 8 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.362, allocations: 0 / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.3633, allocations: 0.5392 MB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.3653, allocations: 1.013 MB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/0.366, allocations: 294.3 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006256/0.3667, allocations: 272.6 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.3667, allocations: 160 / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.3667, allocations: 38.48 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.3667, allocations: 4 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.002004/0.3687, allocations: 0.7858 MB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.3688, allocations: 51.41 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.3692, allocations: 294.7 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.3692, allocations: 29.7 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3693, allocations: 152.1 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.3693, allocations: 23.73 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3695, allocations: 33.67 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3696, allocations: 338.8 kB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006316/0.3703, allocations: 259.7 kB / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.3709, allocations: 267.7 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.3721, allocations: 436.4 kB / 1.077 GB, free: 392 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3721, allocations: 0 / 1.077 GB, free: 392 kB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00134/0.3734, allocations: 0.5287 MB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3735, allocations: 4 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3735, allocations: 3.984 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3735, allocations: 4 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.3739, allocations: 95.83 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3739, allocations: 4.062 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.3743, allocations: 71.81 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.3743, allocations: 7.984 kB / 1.078 GB, free: 15.66 MB / 0.8419 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.0001534/0.3745, allocations: 151.5 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.3745, allocations: 19.72 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.3746, allocations: 29.64 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3746, allocations: 0 / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3746, allocations: 0 / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3746, allocations: 4 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.3751, allocations: 440.4 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3751, allocations: 0 / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.3755, allocations: 91.83 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3755, allocations: 0 / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.3755, allocations: 15.92 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3755, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3755, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.3768, allocations: 0.6354 MB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.3769, allocations: 96.83 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.377, allocations: 7.984 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.3773, allocations: 67.88 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.3774, allocations: 11.98 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.3774, allocations: 3.984 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002837/0.3777, allocations: 225.9 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3777, allocations: 0 / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000317/0.378, allocations: 43.84 kB / 1.08 GB, free: 13.75 MB / 0.8419 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.0001758/0.3782, allocations: 99.25 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.3796, allocations: 0.5307 MB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3796, allocations: 0 / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00067/0.3803, allocations: 275.7 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.3806, allocations: 25.19 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.382, allocations: 0.6514 MB / 1.081 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.3824, allocations: 0.7515 MB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002337/0.3827, allocations: 57.42 kB / 1.082 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.3828, allocations: 27.41 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.3828, allocations: 0 / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of Templates: time 0.006342/0.3891, allocations: 2.693 MB / 1.085 GB, free: 8.594 MB / 0.8419 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