Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001612/0.001612, allocations: 107.2 kB / 15.99 MB, free: 5.895 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.001634/0.001634, allocations: 188.3 kB / 16.9 MB, free: 5.746 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.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.846/2.846, allocations: 469.8 MB / 0.7427 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 75.77 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2979, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003554/0.3014, allocations: 2.033 MB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3027, allocations: 0.6741 MB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.3028, allocations: 0 / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.3029, allocations: 15.86 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.303, allocations: 15.88 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.3033, allocations: 83.86 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.3035, allocations: 147.6 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.3037, allocations: 84.59 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3039, allocations: 55.78 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.304, allocations: 79.55 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.304, allocations: 16 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3042, allocations: 63.89 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.115e-05/0.3043, allocations: 67.81 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.3044, allocations: 95.41 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.3046, allocations: 199.8 kB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3047, allocations: 0 / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3047, allocations: 0 / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.3047, allocations: 0 / 1.068 GB, free: 10.87 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.0008608/0.3055, allocations: 0.5336 MB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3056, allocations: 8.031 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.3074, allocations: 427.9 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.3079, allocations: 311.7 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.983e-05/0.308, allocations: 68.19 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.308, allocations: 12.38 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009297/0.309, allocations: 384.7 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.309, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.309, allocations: 7.984 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.309, allocations: 8 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.3104, allocations: 0.5392 MB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.3123, allocations: 0.9978 MB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.313, allocations: 294.3 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006684/0.3137, allocations: 272.6 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3137, allocations: 4 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3138, allocations: 34.56 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.3138, allocations: 0 / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.002106/0.3159, allocations: 0.7819 MB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.3159, allocations: 55.41 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.3163, allocations: 298.6 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.3163, allocations: 25.7 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3165, allocations: 156.3 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.3165, allocations: 27.59 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.3166, allocations: 33.67 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3168, allocations: 338.8 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006654/0.3175, allocations: 259.8 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.3181, allocations: 256.1 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.3193, allocations: 444.5 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3193, allocations: 0 / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001353/0.3206, allocations: 0.5321 MB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3207, allocations: 4 kB / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3207, allocations: 0 / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3207, allocations: 3.938 kB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.3211, allocations: 99.77 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3212, allocations: 0 / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.3215, allocations: 75.86 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3215, allocations: 11.98 kB / 1.075 GB, free: 3.418 MB / 0.8262 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.0001698/0.3217, allocations: 137.8 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.3218, allocations: 23.72 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.3218, allocations: 25.7 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3219, allocations: 0 / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3219, allocations: 0 / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3219, allocations: 7.984 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.3224, allocations: 448.2 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3224, allocations: 0 / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.3228, allocations: 91.83 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3229, allocations: 0 / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.3229, allocations: 11.98 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3229, allocations: 3.938 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3229, allocations: 0 / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.3243, allocations: 0.6277 MB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/0.3244, allocations: 104.8 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.3245, allocations: 4 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.3248, allocations: 75.86 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.3249, allocations: 0 / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.3249, allocations: 15.97 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002337/0.3252, allocations: 221.9 kB / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3252, allocations: 0 / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003072/0.3255, allocations: 35.94 kB / 1.076 GB, free: 1.512 MB / 0.8262 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.0001713/0.3256, allocations: 107.2 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.327, allocations: 0.5307 MB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.327, allocations: 0 / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006795/0.3277, allocations: 279.7 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.3281, allocations: 18.47 kB / 1.077 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.3295, allocations: 0.6943 MB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.3299, allocations: 0.7435 MB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.3301, allocations: 31.39 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of SimCode: time 7.31e-07/0.3301, allocations: 4 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.006331/0.3364, allocations: 3.668 MB / 1.082 GB, free: 11.37 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches