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.001142/0.001142, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.001211, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 472.7 MB / 0.7452 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 70.86 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3397, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003966/0.3437, allocations: 1.964 MB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3451, allocations: 0.6974 MB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.3453, allocations: 4 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.3455, allocations: 15.8 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.3456, allocations: 27.72 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.346, allocations: 87.84 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.3463, allocations: 151.5 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.3465, allocations: 84.61 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.3466, allocations: 63.7 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3468, allocations: 67.58 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.3468, allocations: 16 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.347, allocations: 63.94 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3471, allocations: 63.81 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.832e-05/0.3472, allocations: 95.41 kB / 1.072 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.3476, allocations: 267.3 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3476, allocations: 0 / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3476, allocations: 4 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.3476, allocations: 0 / 1.072 GB, free: 6.711 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.000935/0.3486, allocations: 0.5336 MB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3486, allocations: 12.03 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.3504, allocations: 423.8 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.3508, allocations: 303.9 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-05/0.3509, allocations: 76.11 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.351, allocations: 12.38 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008419/0.3518, allocations: 380.5 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3518, allocations: 0 / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.3519, allocations: 4 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3519, allocations: 4 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.3531, allocations: 0.5431 MB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.3549, allocations: 1.005 MB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007045/0.3556, allocations: 298.3 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006312/0.3562, allocations: 272.6 kB / 1.076 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3563, allocations: 0 / 1.076 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3563, allocations: 30.56 kB / 1.076 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3563, allocations: 0 / 1.076 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.002088/0.3584, allocations: 0.7896 MB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.3585, allocations: 55.39 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.3589, allocations: 298.6 kB / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.3589, allocations: 29.7 kB / 1.077 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.3591, allocations: 156.3 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.3591, allocations: 23.72 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3592, allocations: 37.67 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3594, allocations: 334.8 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006638/0.3601, allocations: 259.8 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/0.3607, allocations: 259.7 kB / 1.078 GB, free: 420 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.3618, allocations: 440.4 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3619, allocations: 0 / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001235/0.3631, allocations: 0.5321 MB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3631, allocations: 4 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3631, allocations: 0 / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3632, allocations: 4 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.3635, allocations: 95.77 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3636, allocations: 3.984 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.3639, allocations: 67.88 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.3639, allocations: 7.984 kB / 1.079 GB, free: 15.26 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.0001648/0.3641, allocations: 155.2 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.3642, allocations: 19.72 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.3642, allocations: 25.7 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3643, allocations: 0 / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3643, allocations: 0 / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3643, allocations: 0 / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.3648, allocations: 444.4 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3648, allocations: 4 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.3652, allocations: 91.83 kB / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3652, allocations: 0 / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.3652, allocations: 7.984 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3652, allocations: 0 / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3652, allocations: 0 / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3666, allocations: 0.6315 MB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.3667, allocations: 100.8 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.3667, allocations: 3.938 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.367, allocations: 79.8 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.3671, allocations: 7.984 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.3671, allocations: 7.984 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002101/0.3674, allocations: 221.9 kB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3674, allocations: 0 / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003164/0.3677, allocations: 43.84 kB / 1.081 GB, free: 13.34 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.0001755/0.3679, allocations: 99.78 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.3692, allocations: 0.5391 MB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3692, allocations: 0 / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.3698, allocations: 271.7 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.3701, allocations: 25.67 kB / 1.082 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.3714, allocations: 0.5912 MB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.3717, allocations: 0.7474 MB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.3719, allocations: 61.41 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.372, allocations: 27.41 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.372, allocations: 3.938 kB / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of Templates: time 0.005971/0.378, allocations: 2.826 MB / 1.086 GB, free: 8.102 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