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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009798/0.0009798, allocations: 91.3 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.001051/0.001051, 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.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.742/2.742, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 9.781 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002204/0.2708, allocations: 1.65 MB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.2721, allocations: 0.6471 MB / 1.06 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.2723, allocations: 0 / 1.06 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.2724, allocations: 11.86 kB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.584e-05/0.2725, allocations: 19.86 kB / 1.06 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.2729, allocations: 63.86 kB / 1.06 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.2731, allocations: 131.7 kB / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.2732, allocations: 59.12 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2734, allocations: 51.72 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.2735, allocations: 43.72 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.2735, allocations: 8 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.2737, allocations: 55.94 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.2738, allocations: 55.75 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.2738, allocations: 53.58 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.2741, allocations: 191.8 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2741, allocations: 0 / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.286e-06/0.2741, allocations: 4 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2741, allocations: 0 / 1.061 GB, free: 2.27 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.0007582/0.2749, allocations: 0.4985 MB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2749, allocations: 12.03 kB / 1.061 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.2766, allocations: 427 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.277, allocations: 306.7 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.342e-05/0.2771, allocations: 71.58 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.2771, allocations: 12 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000845/0.278, allocations: 383.9 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.278, allocations: 0 / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.278, allocations: 8 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.278, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.2793, allocations: 0.5549 MB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.2809, allocations: 0.9941 MB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.2816, allocations: 302.3 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.2822, allocations: 280.6 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.2822, allocations: 0 / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.2823, allocations: 34.56 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.2823, allocations: 3.938 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.001842/0.2841, allocations: 0.8055 MB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.2841, allocations: 51.41 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.2845, allocations: 298.6 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.2845, allocations: 29.7 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.2846, allocations: 160 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/0.2847, allocations: 23.59 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.2847, allocations: 0 / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2848, allocations: 342.8 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005909/0.2854, allocations: 259.8 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.286, allocations: 263.8 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.2866, allocations: 219.8 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.2866, allocations: 0 / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001225/0.2878, allocations: 0.5478 MB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2878, allocations: 9.562 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2879, allocations: 4 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.2879, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.2883, allocations: 95.83 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2883, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.2886, allocations: 83.78 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.2886, allocations: 11.97 kB / 1.068 GB, free: 11.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.2888, allocations: 141.8 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.2888, allocations: 19.81 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.2889, allocations: 25.7 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2889, allocations: 3.938 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2889, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2889, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.2894, allocations: 440.2 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2894, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.2898, allocations: 95.83 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2898, allocations: 0 / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.2898, allocations: 7.984 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2898, allocations: 3.984 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2898, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.2911, allocations: 0.6439 MB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.2912, allocations: 104.8 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.2913, allocations: 0 / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.2916, allocations: 75.88 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.2917, allocations: 11.92 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.2917, allocations: 7.984 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002296/0.2919, allocations: 221.9 kB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2919, allocations: 0 / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000327/0.2923, allocations: 43.84 kB / 1.07 GB, free: 9.113 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 (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.0001508/0.2924, allocations: 107.2 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.2936, allocations: 0.5307 MB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2937, allocations: 7.938 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006315/0.2943, allocations: 283.9 kB / 1.071 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.2946, allocations: 16.67 kB / 1.071 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.2958, allocations: 0.6499 MB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.2961, allocations: 0.7477 MB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002309/0.2964, allocations: 53.42 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.2965, allocations: 31.39 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.2965, allocations: 4 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of Templates: time 0.005841/0.3023, allocations: 2.611 MB / 1.075 GB, free: 4.023 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