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.001043/0.001043, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001305/0.001305, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.316 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.563/2.563, allocations: 437.7 MB / 0.7117 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003316, allocations: 8 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5787/0.5791, allocations: 153.8 MB / 1.022 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002149/0.5813, allocations: 1.671 MB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.5824, allocations: 0.6325 MB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.5826, allocations: 4 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.5827, allocations: 15.84 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.414e-05/0.5828, allocations: 15.86 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.5832, allocations: 63.86 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.5834, allocations: 131.7 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.5836, allocations: 60.83 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.5837, allocations: 47.7 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.5838, allocations: 51.7 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.5839, allocations: 4 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.584, allocations: 51.95 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.5841, allocations: 55.77 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.5842, allocations: 57.58 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.5844, allocations: 193.5 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5845, allocations: 3.938 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5845, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.5845, allocations: 0 / 1.025 GB, free: 13.04 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.0008586/0.5853, allocations: 0.5024 MB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5854, allocations: 8.562 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.587, allocations: 434.9 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.5874, allocations: 298.7 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/0.5875, allocations: 71.62 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.5876, allocations: 15.95 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000867/0.5884, allocations: 388.3 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.5885, allocations: 0 / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.5885, allocations: 3.984 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.5885, allocations: 4 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.5897, allocations: 0.5503 MB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.5914, allocations: 1.002 MB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/0.5921, allocations: 298.3 kB / 1.029 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006102/0.5927, allocations: 280.6 kB / 1.029 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.5927, allocations: 7.984 kB / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.5928, allocations: 34.5 kB / 1.029 GB, free: 9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.5928, allocations: 0 / 1.029 GB, free: 9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.001882/0.5947, allocations: 0.8014 MB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.5947, allocations: 51.41 kB / 1.03 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.5951, allocations: 294.7 kB / 1.03 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.5951, allocations: 29.7 kB / 1.03 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.5952, allocations: 156.2 kB / 1.03 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.5953, allocations: 19.75 kB / 1.03 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.5953, allocations: 4 kB / 1.03 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5954, allocations: 334.8 kB / 1.031 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005823/0.596, allocations: 263.8 kB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/0.5966, allocations: 271.7 kB / 1.031 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.5971, allocations: 227.7 kB / 1.032 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5971, allocations: 0 / 1.032 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001209/0.5983, allocations: 0.5399 MB / 1.032 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5984, allocations: 4 kB / 1.032 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.5984, allocations: 3.938 kB / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.5984, allocations: 0 / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.5988, allocations: 95.83 kB / 1.032 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5988, allocations: 0 / 1.032 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.5991, allocations: 75.88 kB / 1.032 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.5991, allocations: 15.97 kB / 1.032 GB, free: 5.797 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.5993, allocations: 141.7 kB / 1.032 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.5994, allocations: 19.72 kB / 1.032 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.5994, allocations: 29.7 kB / 1.032 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5994, allocations: 4 kB / 1.032 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5994, allocations: 0 / 1.032 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5994, allocations: 0 / 1.032 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.5999, allocations: 440.4 kB / 1.033 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5999, allocations: 0 / 1.033 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.6003, allocations: 95.83 kB / 1.033 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.6003, allocations: 4 kB / 1.033 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.6003, allocations: 11.97 kB / 1.033 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6003, allocations: 0 / 1.033 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6004, allocations: 0 / 1.033 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.6017, allocations: 0.636 MB / 1.034 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.6018, allocations: 104.8 kB / 1.034 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.6018, allocations: 15.94 kB / 1.034 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.6022, allocations: 67.88 kB / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.6022, allocations: 7.984 kB / 1.034 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.6023, allocations: 11.98 kB / 1.034 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002174/0.6025, allocations: 221.9 kB / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6025, allocations: 0 / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003057/0.6028, allocations: 35.94 kB / 1.034 GB, free: 3.883 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 (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.0001526/0.603, allocations: 115.2 kB / 1.034 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.6042, allocations: 0.5425 MB / 1.035 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6042, allocations: 0 / 1.035 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006171/0.6048, allocations: 283.7 kB / 1.035 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.6051, allocations: 16.56 kB / 1.035 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.6063, allocations: 0.6534 MB / 1.036 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.6066, allocations: 0.7438 MB / 1.036 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002208/0.6068, allocations: 57.42 kB / 1.036 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.607, allocations: 31.39 kB / 1.036 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.607, allocations: 4 kB / 1.036 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of Templates: time 0.005663/0.6126, allocations: 2.601 MB / 1.039 GB, free: 14.78 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/jenkins/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