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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001751/0.001751, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.001894/0.001894, allocations: 190.4 kB / 17.29 MB, free: 5.48 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.474/2.474, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 62.84 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3536, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003475/0.3571, allocations: 2.013 MB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3584, allocations: 0.6787 MB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.3586, allocations: 3.938 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.3588, allocations: 19.78 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.3588, allocations: 23.75 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.3592, allocations: 83.84 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.3594, allocations: 151.5 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.3596, allocations: 88.59 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3597, allocations: 59.78 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.3599, allocations: 71.55 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.3599, allocations: 16 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.3601, allocations: 63.95 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.609e-05/0.3602, allocations: 63.83 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.3603, allocations: 95.34 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.3606, allocations: 271 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3606, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3606, allocations: 0 / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.3607, allocations: 0 / 1.03 GB, free: 14.32 MB / 0.8106 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.0008404/0.3615, allocations: 0.5297 MB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3615, allocations: 8.031 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.3632, allocations: 423.9 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.3638, allocations: 311.7 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.31e-05/0.3639, allocations: 72.17 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.364, allocations: 12.38 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009589/0.3649, allocations: 380.7 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.365, allocations: 0 / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.365, allocations: 4 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.365, allocations: 11.92 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.3664, allocations: 0.5431 MB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.3682, allocations: 0.9861 MB / 1.034 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.3688, allocations: 302.2 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006746/0.3695, allocations: 268.6 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3696, allocations: 0 / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.3697, allocations: 38.56 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3697, allocations: 0 / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.001913/0.3716, allocations: 0.7859 MB / 1.035 GB, free: 9.504 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.3717, allocations: 59.34 kB / 1.035 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.372, allocations: 294.7 kB / 1.035 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.372, allocations: 25.7 kB / 1.035 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3721, allocations: 148.2 kB / 1.035 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.3722, allocations: 27.64 kB / 1.035 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3723, allocations: 45.61 kB / 1.035 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3724, allocations: 330.8 kB / 1.036 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/0.373, allocations: 263.7 kB / 1.036 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/0.3736, allocations: 255.8 kB / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.3747, allocations: 440.4 kB / 1.037 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3747, allocations: 0 / 1.037 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001249/0.376, allocations: 0.5321 MB / 1.037 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.376, allocations: 12 kB / 1.037 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.376, allocations: 3.938 kB / 1.037 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3761, allocations: 0 / 1.037 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.3765, allocations: 87.83 kB / 1.037 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3765, allocations: 0.5469 kB / 1.037 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.3768, allocations: 71.88 kB / 1.037 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.3768, allocations: 11.97 kB / 1.037 GB, free: 6.879 MB / 0.8106 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.000154/0.377, allocations: 145.8 kB / 1.037 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.3771, allocations: 19.72 kB / 1.038 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.3771, allocations: 25.7 kB / 1.038 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3771, allocations: 4 kB / 1.038 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3771, allocations: 0 / 1.038 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3771, allocations: 0 / 1.038 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.3776, allocations: 440.4 kB / 1.038 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3776, allocations: 0 / 1.038 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.378, allocations: 91.83 kB / 1.038 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.378, allocations: 0 / 1.038 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.378, allocations: 15.97 kB / 1.038 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.378, allocations: 7.922 kB / 1.038 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.378, allocations: 0 / 1.038 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.3793, allocations: 0.6354 MB / 1.039 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.666e-05/0.3794, allocations: 104.8 kB / 1.039 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.3794, allocations: 4 kB / 1.039 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.3799, allocations: 71.88 kB / 1.039 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.3799, allocations: 7.984 kB / 1.039 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.38, allocations: 7.984 kB / 1.039 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002195/0.3802, allocations: 221.9 kB / 1.039 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3802, allocations: 7.938 kB / 1.039 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003216/0.3805, allocations: 39.94 kB / 1.039 GB, free: 4.965 MB / 0.8106 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.0001731/0.3807, allocations: 103.2 kB / 1.039 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.3819, allocations: 0.5268 MB / 1.04 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.382, allocations: 0 / 1.04 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.3825, allocations: 275.7 kB / 1.04 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3828, allocations: 20.48 kB / 1.04 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.3841, allocations: 0.5948 MB / 1.041 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.3846, allocations: 0.7435 MB / 1.041 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.3848, allocations: 57.42 kB / 1.041 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3849, allocations: 27.41 kB / 1.041 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/0.3849, allocations: 0 / 1.041 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of Templates: time 0.006287/0.3912, allocations: 2.845 MB / 1.044 GB, free: 15.73 MB / 0.8262 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 -s cvode -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/jenkins1/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