Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001021/0.001021, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009101/0.009101, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.513/1.513, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.776/2.776, allocations: 462.7 MB / 0.7364 GB, free: 340 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003851, allocations: 9.406 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3616, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003192/0.3648, allocations: 1.684 MB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.3667, allocations: 0.6779 MB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.367, allocations: 4 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.3672, allocations: 15.8 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.3673, allocations: 23.84 kB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.3678, allocations: 71.88 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.3681, allocations: 143.6 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.3683, allocations: 72.61 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.3685, allocations: 55.7 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.3686, allocations: 47.66 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.3686, allocations: 4 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.3688, allocations: 43.95 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.3689, allocations: 67.8 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.916e-05/0.369, allocations: 101.1 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.3694, allocations: 239.3 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3694, allocations: 0 / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3694, allocations: 0 / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3694, allocations: 0 / 1.062 GB, free: 2.242 MB / 0.8106 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.0009359/0.3703, allocations: 0.5104 MB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.3704, allocations: 8.031 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.3722, allocations: 423.9 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.3727, allocations: 319.7 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.3728, allocations: 76.17 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.3728, allocations: 12.38 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008787/0.3737, allocations: 388 kB / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3737, allocations: 0 / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.3738, allocations: 7.984 kB / 1.064 GB, free: 436 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.3738, allocations: 4 kB / 1.064 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.3751, allocations: 0.5509 MB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.3773, allocations: 1.002 MB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007508/0.3781, allocations: 298.3 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006399/0.3787, allocations: 284.6 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3788, allocations: 0 / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3788, allocations: 38.5 kB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3788, allocations: 0 / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.001998/0.3808, allocations: 0.7976 MB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.3809, allocations: 51.41 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.3812, allocations: 298.5 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.3813, allocations: 33.7 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3814, allocations: 148.2 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.3814, allocations: 31.8 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.3815, allocations: 13.72 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3816, allocations: 338.8 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/0.3822, allocations: 259.8 kB / 1.068 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/0.3829, allocations: 263.8 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.384, allocations: 460.8 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.384, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001265/0.3853, allocations: 0.5477 MB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3853, allocations: 4 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3853, allocations: 0 / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3854, allocations: 4 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.3858, allocations: 91.83 kB / 1.069 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3858, allocations: 4 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.3862, allocations: 75.86 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.3862, allocations: 7.984 kB / 1.069 GB, free: 10.74 MB / 0.8262 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.0001775/0.3864, allocations: 151.2 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.3864, allocations: 23.72 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.892e-05/0.3865, allocations: 29.72 kB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3865, allocations: 3.984 kB / 1.069 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.3865, allocations: 0 / 1.069 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3865, allocations: 0 / 1.069 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.3871, allocations: 444.2 kB / 1.07 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3871, allocations: 0 / 1.07 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.3875, allocations: 99.83 kB / 1.07 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.3875, allocations: 0 / 1.07 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.3875, allocations: 7.984 kB / 1.07 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3875, allocations: 0 / 1.07 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3875, allocations: 0 / 1.07 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3889, allocations: 0.6471 MB / 1.07 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.389, allocations: 96.92 kB / 1.07 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.389, allocations: 0 / 1.07 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.3894, allocations: 75.8 kB / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.3894, allocations: 19.97 kB / 1.07 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.3895, allocations: 7.984 kB / 1.07 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002436/0.3897, allocations: 217.9 kB / 1.071 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.81e-07/0.3897, allocations: 0 / 1.071 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003295/0.3901, allocations: 47.84 kB / 1.071 GB, free: 8.801 MB / 0.8262 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.0002033/0.3903, allocations: 99.25 kB / 1.071 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.3916, allocations: 0.5424 MB / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3916, allocations: 0 / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006619/0.3923, allocations: 279.7 kB / 1.072 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.3926, allocations: 20.5 kB / 1.072 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.3939, allocations: 0.6555 MB / 1.072 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.3943, allocations: 0.7516 MB / 1.073 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002224/0.3945, allocations: 53.42 kB / 1.073 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.3946, allocations: 27.41 kB / 1.073 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3946, allocations: 7.875 kB / 1.073 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of Templates: time 0.00637/0.401, allocations: 2.653 MB / 1.076 GB, free: 3.66 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches