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.001196/0.001196, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.00121/0.00121, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.09 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.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 71.89 kB / 0.9516 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003383/1.02, allocations: 1.981 MB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001353/1.021, allocations: 0.6861 MB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/1.022, allocations: 6.062 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001498/1.022, allocations: 21.41 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.396e-05/1.022, allocations: 21.64 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/1.022, allocations: 85.17 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/1.022, allocations: 157 kB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/1.023, allocations: 86.52 kB / 1.092 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/1.023, allocations: 58.66 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/1.023, allocations: 74.94 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/1.023, allocations: 14.16 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/1.023, allocations: 63.77 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/1.023, allocations: 64.02 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/1.023, allocations: 100.5 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004252/1.024, allocations: 263.4 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.024, allocations: 4 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.484e-06/1.024, allocations: 0.625 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.089e-05/1.024, allocations: 0 / 1.092 GB, free: 3.176 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.0008843/1.025, allocations: 0.5286 MB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.025, allocations: 10.83 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/1.027, allocations: 426.9 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/1.027, allocations: 309.6 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.882e-05/1.027, allocations: 74.11 kB / 1.094 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/1.027, allocations: 7.625 kB / 1.094 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009891/1.028, allocations: 389.9 kB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.028, allocations: 0 / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/1.028, allocations: 5.594 kB / 1.094 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/1.028, allocations: 7.672 kB / 1.094 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/1.03, allocations: 0.5359 MB / 1.094 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/1.032, allocations: 1 MB / 1.095 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007628/1.033, allocations: 298.7 kB / 1.096 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006809/1.033, allocations: 275.3 kB / 1.096 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/1.033, allocations: 5.016 kB / 1.096 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/1.034, allocations: 36.44 kB / 1.096 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/1.034, allocations: 0 / 1.096 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.002233/1.036, allocations: 0.7891 MB / 1.097 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/1.036, allocations: 57.02 kB / 1.097 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/1.036, allocations: 297.3 kB / 1.097 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/1.036, allocations: 26.77 kB / 1.097 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.611e-05/1.036, allocations: 150.2 kB / 1.097 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/1.036, allocations: 23.78 kB / 1.097 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/1.036, allocations: 39.98 kB / 1.097 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.998e-05/1.037, allocations: 340.5 kB / 1.098 GB, free: 484 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006523/1.037, allocations: 258.7 kB / 1.098 GB, free: 432 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/1.038, allocations: 260.9 kB / 1.098 GB, free: 380 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.039, allocations: 437.8 kB / 1.099 GB, free: 292 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.039, allocations: 4 kB / 1.099 GB, free: 288 kB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001397/1.04, allocations: 0.5272 MB / 1.099 GB, free: 156 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.04, allocations: 9.438 kB / 1.099 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.04, allocations: 1.281 kB / 1.099 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.04, allocations: 4.562 kB / 1.099 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/1.041, allocations: 92.34 kB / 1.099 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/1.041, allocations: 1.156 kB / 1.099 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/1.041, allocations: 74.48 kB / 1.099 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/1.041, allocations: 7.641 kB / 1.099 GB, free: 140 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.000157/1.041, allocations: 143.2 kB / 1.099 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/1.042, allocations: 24.95 kB / 1.099 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/1.042, allocations: 24.72 kB / 1.099 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/1.042, allocations: 1.188 kB / 1.099 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.042, allocations: 1.203 kB / 1.099 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.042, allocations: 0.5625 kB / 1.099 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/1.042, allocations: 432.9 kB / 1.1 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.042, allocations: 0.9375 kB / 1.1 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/1.043, allocations: 92.75 kB / 1.1 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.043, allocations: 0 / 1.1 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/1.043, allocations: 16.14 kB / 1.1 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.043, allocations: 0.875 kB / 1.1 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.043, allocations: 4.453 kB / 1.1 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/1.044, allocations: 0.6327 MB / 1.101 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/1.044, allocations: 102.9 kB / 1.101 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/1.044, allocations: 1.797 kB / 1.101 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/1.045, allocations: 76.69 kB / 1.101 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/1.045, allocations: 9.547 kB / 1.101 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/1.045, allocations: 8.859 kB / 1.101 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003054/1.045, allocations: 218.1 kB / 1.101 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.045, allocations: 0 / 1.101 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003262/1.046, allocations: 44.5 kB / 1.101 GB, free: 15.19 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.0001837/1.046, allocations: 106.2 kB / 1.101 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001388/1.047, allocations: 0.5261 MB / 1.102 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.047, allocations: 0 / 1.102 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006541/1.048, allocations: 275.1 kB / 1.102 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/1.048, allocations: 21.48 kB / 1.102 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/1.049, allocations: 0.6236 MB / 1.103 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/1.05, allocations: 0.7486 MB / 1.103 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/1.05, allocations: 35.48 kB / 1.103 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.05, allocations: 4 kB / 1.103 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.00722/1.057, allocations: 3.68 MB / 1.107 GB, free: 13.52 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/jenkins1/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