Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009725/0.009724, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.00187/0.00187, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.398/1.398, 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 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.91 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8628/0.8642, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003079/0.8673, allocations: 1.985 MB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.8687, allocations: 0.6845 MB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.8688, allocations: 6.75 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.869, allocations: 16.27 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.314e-05/0.8691, allocations: 29.73 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.8695, allocations: 81.5 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.8698, allocations: 153.2 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.87, allocations: 82.25 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.8702, allocations: 67.06 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.8704, allocations: 73.84 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.8704, allocations: 14.47 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.8706, allocations: 60.27 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.8707, allocations: 72.58 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.8708, allocations: 91.59 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.8713, allocations: 264 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.8713, allocations: 0 / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.083e-06/0.8713, allocations: 0.875 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.8713, allocations: 0 / 1.092 GB, free: 3.137 MB / 0.8575 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.0008106/0.8721, allocations: 0.5364 MB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.8722, allocations: 9.5 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.8741, allocations: 420.1 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.8746, allocations: 321.4 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.609e-05/0.8747, allocations: 73.06 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.8747, allocations: 12.16 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009787/0.8757, allocations: 385.6 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.8758, allocations: 0.75 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.8758, allocations: 5.828 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.8758, allocations: 2.312 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.8771, allocations: 0.5439 MB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.8789, allocations: 0.9928 MB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007196/0.8797, allocations: 296 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006594/0.8803, allocations: 270.9 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.8804, allocations: 17.67 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.8804, allocations: 31.28 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.8804, allocations: 0 / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.002312/0.8827, allocations: 0.7808 MB / 1.096 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.8828, allocations: 58.08 kB / 1.096 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.8832, allocations: 297.6 kB / 1.096 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.8832, allocations: 26.31 kB / 1.096 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.8833, allocations: 153.8 kB / 1.097 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.8834, allocations: 28.28 kB / 1.097 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.8835, allocations: 36.17 kB / 1.097 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.8836, allocations: 335.8 kB / 1.097 GB, free: 444 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007145/0.8843, allocations: 259 kB / 1.097 GB, free: 392 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/0.885, allocations: 257.3 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.8862, allocations: 441.8 kB / 1.098 GB, free: 252 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8862, allocations: 0 / 1.098 GB, free: 252 kB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001469/0.8877, allocations: 0.531 MB / 1.098 GB, free: 116 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.8877, allocations: 5.016 kB / 1.098 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8878, allocations: 0.8438 kB / 1.098 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.8878, allocations: 5.031 kB / 1.098 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.8883, allocations: 92.53 kB / 1.098 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.8883, allocations: 5.75 kB / 1.098 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.8887, allocations: 72.64 kB / 1.099 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.8888, allocations: 12.64 kB / 1.099 GB, free: 96 kB / 0.8575 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.0002297/0.889, allocations: 144.3 kB / 1.099 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.8891, allocations: 20.81 kB / 1.099 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.638e-05/0.8891, allocations: 21.34 kB / 1.099 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.8892, allocations: 0.9375 kB / 1.099 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.8892, allocations: 0 / 1.099 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.8892, allocations: 5.672 kB / 1.099 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007579/0.8899, allocations: 440.3 kB / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.89, allocations: 0 / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.8904, allocations: 89.31 kB / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.8904, allocations: 9.344 kB / 1.099 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.8905, allocations: 6.656 kB / 1.099 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.8905, allocations: 8.812 kB / 1.099 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8905, allocations: 0.6094 kB / 1.099 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.8923, allocations: 0.6327 MB / 1.1 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.8924, allocations: 106.6 kB / 1.1 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.8925, allocations: 2 kB / 1.1 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.8929, allocations: 73.11 kB / 1.1 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.893, allocations: 6.047 kB / 1.1 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.893, allocations: 11.84 kB / 1.1 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003471/0.8934, allocations: 217.8 kB / 1.1 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8934, allocations: 0 / 1.1 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003885/0.8938, allocations: 37.72 kB / 1.1 GB, free: 15.16 MB / 0.8731 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.0001978/0.894, allocations: 106.1 kB / 1.1 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.8953, allocations: 0.5287 MB / 1.101 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8954, allocations: 0 / 1.101 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006272/0.896, allocations: 274 kB / 1.101 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.8963, allocations: 23.86 kB / 1.101 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.8976, allocations: 0.5948 MB / 1.102 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.8979, allocations: 0.7464 MB / 1.103 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001966/0.8981, allocations: 56.56 kB / 1.103 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.8982, allocations: 28.66 kB / 1.103 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of SimCode: time 3.2e-07/0.8982, allocations: 0 / 1.103 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.007313/0.9056, allocations: 2.857 MB / 1.105 GB, free: 13.64 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches