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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.518/2.518, allocations: 387.1 MB / 399.7 MB, free: 9.434 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 169 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.747/1.747, allocations: 221.3 MB / 0.7872 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 99.81 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.254e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3312, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.341, allocations: 152 MB / 1.361 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/1.342, allocations: 87.53 kB / 1.361 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008727/1.35, allocations: 3.049 MB / 1.364 GB, free: 34.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/1.35, allocations: 0 / 1.364 GB, free: 34.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.662e-05/1.35, allocations: 3.906 kB / 1.364 GB, free: 34.54 MB / 0.8386 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.0005705/1.351, allocations: 482.2 kB / 1.364 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.351, allocations: 7.781 kB / 1.364 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/1.353, allocations: 217.8 kB / 1.365 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/1.353, allocations: 310.3 kB / 1.365 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-05/1.353, allocations: 74.73 kB / 1.365 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/1.353, allocations: 11.19 kB / 1.365 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/1.353, allocations: 298.4 kB / 1.365 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.354, allocations: 0 / 1.365 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/1.354, allocations: 3.625 kB / 1.365 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.354, allocations: 7.562 kB / 1.365 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/1.354, allocations: 371 kB / 1.366 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/1.356, allocations: 0.9227 MB / 1.366 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/1.356, allocations: 206.1 kB / 1.367 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/1.356, allocations: 183.2 kB / 1.367 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/1.356, allocations: 7.812 kB / 1.367 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/1.356, allocations: 30.56 kB / 1.367 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/1.356, allocations: 0 / 1.367 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0005618/1.357, allocations: 373 kB / 1.367 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/1.357, allocations: 61.42 kB / 1.367 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/1.357, allocations: 261 kB / 1.368 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/1.357, allocations: 29.55 kB / 1.368 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/1.357, allocations: 150.9 kB / 1.368 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/1.357, allocations: 26.17 kB / 1.368 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/1.357, allocations: 0 / 1.368 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.869e-05/1.357, allocations: 331.5 kB / 1.368 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/1.357, allocations: 172.1 kB / 1.368 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/1.358, allocations: 169.5 kB / 1.368 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/1.358, allocations: 120 kB / 1.369 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.358, allocations: 0 / 1.369 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004592/1.358, allocations: 372.8 kB / 1.369 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.358, allocations: 7.812 kB / 1.369 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.358, allocations: 7.938 kB / 1.369 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.358, allocations: 0 / 1.369 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/1.359, allocations: 64.3 kB / 1.369 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/1.359, allocations: 0 / 1.369 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/1.359, allocations: 43.09 kB / 1.369 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/1.359, allocations: 24.03 kB / 1.369 GB, free: 32.64 MB / 0.8386 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 (norQSta.canFreeze) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.484e-05/1.359, allocations: 108.2 kB / 1.369 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/1.359, allocations: 23.34 kB / 1.369 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/1.359, allocations: 27.03 kB / 1.369 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/1.359, allocations: 0 / 1.369 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.359, allocations: 0 / 1.369 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.359, allocations: 0 / 1.369 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/1.36, allocations: 430.5 kB / 1.37 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.36, allocations: 0 / 1.37 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/1.36, allocations: 69.98 kB / 1.37 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.36, allocations: 0 / 1.37 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/1.36, allocations: 9.859 kB / 1.37 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.36, allocations: 3.938 kB / 1.37 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.36, allocations: 0 / 1.37 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/1.361, allocations: 479.6 kB / 1.37 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/1.361, allocations: 96.36 kB / 1.37 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/1.361, allocations: 0 / 1.37 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/1.361, allocations: 36.17 kB / 1.37 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/1.361, allocations: 7.156 kB / 1.37 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/1.361, allocations: 25.72 kB / 1.37 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001855/1.361, allocations: 216.4 kB / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.361, allocations: 4 kB / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002897/1.362, allocations: 42.47 kB / 1.371 GB, free: 31.96 MB / 0.8386 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 (norQSta.canFreeze) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001709/1.362, allocations: 118.3 kB / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000453/1.362, allocations: 415.6 kB / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.362, allocations: 0 / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/1.362, allocations: 214.5 kB / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/1.363, allocations: 15.73 kB / 1.371 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006242/1.363, allocations: 441.3 kB / 1.372 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/1.364, allocations: 0.7532 MB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002083/1.364, allocations: 76.19 kB / 1.372 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/1.364, allocations: 30.97 kB / 1.372 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.364, allocations: 0 / 1.372 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of Templates: time 0.00502/1.369, allocations: 2.463 MB / 1.375 GB, free: 30.79 MB / 0.8386 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","../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches