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.001478/0.001478, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001881/0.001882, allocations: 194.7 kB / 16.26 MB, free: 6.637 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 / 239.9 MB, free: 4.543 MB / 190.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.523/2.523, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6825/0.684, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003681/0.6877, allocations: 2.024 MB / 0.9511 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.6891, allocations: 0.6733 MB / 0.9517 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.6893, allocations: 2.438 kB / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.6894, allocations: 17.22 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.6896, allocations: 14.98 kB / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.6899, allocations: 69.52 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.6902, allocations: 153.7 kB / 0.952 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.6904, allocations: 85.66 kB / 0.9521 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.6905, allocations: 66.86 kB / 0.9521 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.6906, allocations: 68.09 kB / 0.9522 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.6907, allocations: 14.91 kB / 0.9522 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.6909, allocations: 59.77 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.464e-05/0.691, allocations: 73.72 kB / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/0.691, allocations: 97.25 kB / 0.9524 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.6914, allocations: 261 kB / 0.9527 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6914, allocations: 3.938 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6914, allocations: 0 / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.6914, allocations: 5.281 kB / 0.9527 GB, free: 6.355 MB / 0.7169 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.0009758/0.6924, allocations: 0.5386 MB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.6925, allocations: 9.594 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.6943, allocations: 421.6 kB / 0.9536 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.6946, allocations: 315.8 kB / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.469e-05/0.6947, allocations: 68.59 kB / 0.954 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.6947, allocations: 12.19 kB / 0.954 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008121/0.6956, allocations: 384.9 kB / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.6956, allocations: 0 / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.6956, allocations: 5.469 kB / 0.9544 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.6956, allocations: 2.438 kB / 0.9544 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.6969, allocations: 0.5379 MB / 0.9549 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.6984, allocations: 1.002 MB / 0.9559 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.699, allocations: 297.5 kB / 0.9562 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005539/0.6996, allocations: 269.1 kB / 0.9564 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.6996, allocations: 1.375 kB / 0.9564 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.6997, allocations: 36.03 kB / 0.9565 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.6997, allocations: 0 / 0.9565 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001857/0.7015, allocations: 0.787 MB / 0.9572 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.7016, allocations: 52.5 kB / 0.9573 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.7019, allocations: 300.3 kB / 0.9576 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.7019, allocations: 25.7 kB / 0.9576 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.702, allocations: 160.9 kB / 0.9577 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.702, allocations: 19.53 kB / 0.9578 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/0.7021, allocations: 40.27 kB / 0.9578 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.7022, allocations: 336.2 kB / 0.9581 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.7027, allocations: 259.6 kB / 0.9584 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/0.7033, allocations: 260.3 kB / 0.9586 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.7043, allocations: 446.4 kB / 0.959 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7043, allocations: 0 / 0.959 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001207/0.7056, allocations: 0.5309 MB / 0.9596 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.7056, allocations: 4.844 kB / 0.9596 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7056, allocations: 0 / 0.9596 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.7056, allocations: 5.375 kB / 0.9596 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.706, allocations: 97.06 kB / 0.9597 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.706, allocations: 0.5469 kB / 0.9597 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.7064, allocations: 68.03 kB / 0.9597 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.7064, allocations: 11.97 kB / 0.9597 GB, free: 1.781 MB / 0.7169 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.0001249/0.7065, allocations: 148.5 kB / 0.9599 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.7066, allocations: 20.81 kB / 0.9599 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.7066, allocations: 30.45 kB / 0.9599 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.7066, allocations: 0 / 0.9599 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.7066, allocations: 1.312 kB / 0.9599 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7067, allocations: 0 / 0.9599 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.7071, allocations: 440.5 kB / 0.9604 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.7071, allocations: 0 / 0.9604 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.7075, allocations: 93.02 kB / 0.9604 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.7075, allocations: 0 / 0.9604 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.7075, allocations: 11.44 kB / 0.9605 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.7075, allocations: 0 / 0.9605 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7075, allocations: 1.469 kB / 0.9605 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.7088, allocations: 0.6343 MB / 0.9611 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.7089, allocations: 100.4 kB / 0.9612 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.7089, allocations: 5.406 kB / 0.9612 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.7093, allocations: 71.47 kB / 0.9612 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.7094, allocations: 6.297 kB / 0.9613 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.7094, allocations: 15.2 kB / 0.9613 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002153/0.7096, allocations: 220 kB / 0.9615 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7096, allocations: 0 / 0.9615 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003258/0.7099, allocations: 40.84 kB / 0.9615 GB, free: 0.5234 MB / 0.7169 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.0001713/0.7101, allocations: 104.6 kB / 0.9616 GB, free: 440 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.7114, allocations: 0.5297 MB / 0.9621 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7114, allocations: 0 / 0.9621 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006097/0.712, allocations: 276.3 kB / 0.9624 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.7124, allocations: 18.44 kB / 0.9624 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.7136, allocations: 0.6636 MB / 0.9631 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.714, allocations: 0.7524 MB / 0.9638 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000225/0.7143, allocations: 56.73 kB / 0.9639 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.7144, allocations: 30.17 kB / 0.9639 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7144, allocations: 0.7812 kB / 0.9639 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of Templates: time 0.007343/0.7217, allocations: 2.753 MB / 0.9666 GB, free: 13.47 MB / 0.7325 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