Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008665/0.0008665, allocations: 90.83 kB / 16.02 MB, free: 80 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.001002/0.001002, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 437.8 MB / 0.7128 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006107/0.0006107, allocations: 8 kB / 0.8735 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7553/0.756, allocations: 153.8 MB / 1.024 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002328/0.7583, allocations: 1.687 MB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.7595, allocations: 0.6711 MB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.7597, allocations: 4 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.7598, allocations: 11.86 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.149e-05/0.7599, allocations: 15.88 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.7601, allocations: 75.86 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.7603, allocations: 139.7 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.7606, allocations: 80.53 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.7607, allocations: 43.73 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.7608, allocations: 55.64 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.7608, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.761, allocations: 47.95 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.7611, allocations: 55.81 kB / 1.027 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.528e-05/0.7612, allocations: 105 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.7615, allocations: 193.5 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.7615, allocations: 4 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7615, allocations: 0 / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.7615, allocations: 0 / 1.027 GB, free: 12.6 MB / 0.7794 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.000981/0.7625, allocations: 0.5065 MB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.7626, allocations: 8.031 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.7642, allocations: 431.8 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.7646, allocations: 307.8 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.776e-05/0.7647, allocations: 72.17 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.7648, allocations: 16.38 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000816/0.7656, allocations: 383.3 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.7656, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.7656, allocations: 4 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.7657, allocations: 4 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.7669, allocations: 0.5581 MB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.7686, allocations: 1.009 MB / 1.03 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.7692, allocations: 298.3 kB / 1.03 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.7698, allocations: 276.6 kB / 1.031 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.7699, allocations: 4 kB / 1.031 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.7699, allocations: 42.66 kB / 1.031 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.7699, allocations: 3.938 kB / 1.031 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.00188/0.7718, allocations: 0.8015 MB / 1.031 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.7718, allocations: 51.41 kB / 1.031 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.7722, allocations: 302.6 kB / 1.032 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.7722, allocations: 25.7 kB / 1.032 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.7723, allocations: 152.1 kB / 1.032 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.7724, allocations: 23.64 kB / 1.032 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.7724, allocations: 21.72 kB / 1.032 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7726, allocations: 338.7 kB / 1.032 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005998/0.7732, allocations: 263.8 kB / 1.033 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/0.7737, allocations: 267.7 kB / 1.033 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.7749, allocations: 456.3 kB / 1.033 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7749, allocations: 0 / 1.033 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001237/0.7761, allocations: 0.5361 MB / 1.034 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.7762, allocations: 8 kB / 1.034 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7762, allocations: 0 / 1.034 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.7762, allocations: 0 / 1.034 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.7766, allocations: 95.83 kB / 1.034 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.7766, allocations: 0 / 1.034 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.7769, allocations: 87.77 kB / 1.034 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.777, allocations: 7.984 kB / 1.034 GB, free: 5.086 MB / 0.7794 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.0001459/0.7771, allocations: 142.2 kB / 1.034 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.7772, allocations: 19.81 kB / 1.034 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.7772, allocations: 29.7 kB / 1.034 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.7773, allocations: 0 / 1.034 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7773, allocations: 0 / 1.034 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7773, allocations: 3.984 kB / 1.034 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.7778, allocations: 440.3 kB / 1.035 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7778, allocations: 0 / 1.035 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.7781, allocations: 95.83 kB / 1.035 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.7781, allocations: 0 / 1.035 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.7782, allocations: 7.984 kB / 1.035 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.7782, allocations: 0 / 1.035 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7782, allocations: 0 / 1.035 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.7795, allocations: 0.6399 MB / 1.035 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.7796, allocations: 108.8 kB / 1.035 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.7796, allocations: 4 kB / 1.035 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.7799, allocations: 75.86 kB / 1.035 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.78, allocations: 0 / 1.035 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.78, allocations: 19.97 kB / 1.035 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002141/0.7802, allocations: 217.9 kB / 1.036 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.453e-06/0.7802, allocations: 0 / 1.036 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003005/0.7806, allocations: 43.78 kB / 1.036 GB, free: 3.168 MB / 0.7794 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.0001891/0.7807, allocations: 107.2 kB / 1.036 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.782, allocations: 0.5386 MB / 1.036 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.782, allocations: 0 / 1.036 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006289/0.7827, allocations: 283.9 kB / 1.037 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.783, allocations: 20.5 kB / 1.037 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.7843, allocations: 0.6962 MB / 1.037 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.7846, allocations: 0.7438 MB / 1.038 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.7848, allocations: 47.38 kB / 1.038 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.7848, allocations: 0 / 1.038 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of Templates: time 0.006499/0.7913, allocations: 3.634 MB / 1.042 GB, free: 13.04 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches