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.01136/0.01136, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.002466/0.002465, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.47/2.47, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.09 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2801, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003073/0.2832, allocations: 1.972 MB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2845, allocations: 0.6943 MB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.2847, allocations: 4 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.2848, allocations: 23.72 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.68e-05/0.2849, allocations: 19.81 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.2853, allocations: 83.78 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.2854, allocations: 155.6 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.2856, allocations: 84.59 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.2857, allocations: 59.72 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.2859, allocations: 75.61 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.2859, allocations: 16 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.2861, allocations: 63.95 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.1e-05/0.2862, allocations: 63.77 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.351e-05/0.2863, allocations: 95.41 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.2866, allocations: 271 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2866, allocations: 0 / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2866, allocations: 7.875 kB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.2866, allocations: 4 kB / 1.092 GB, free: 13.81 MB / 0.8575 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.0007601/0.2874, allocations: 0.5258 MB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2874, allocations: 8.031 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.289, allocations: 427.9 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.2894, allocations: 311.8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.442e-05/0.2895, allocations: 76.12 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.2895, allocations: 12.38 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008005/0.2904, allocations: 383.2 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2904, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.2904, allocations: 7.984 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2904, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.2916, allocations: 0.5353 MB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.2932, allocations: 0.9975 MB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/0.2939, allocations: 294.3 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005885/0.2945, allocations: 272.6 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.2945, allocations: 0 / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.2946, allocations: 34.56 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2946, allocations: 0 / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001902/0.2965, allocations: 0.7976 MB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.2965, allocations: 51.41 kB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.2968, allocations: 298.7 kB / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.2968, allocations: 25.7 kB / 1.096 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.889e-05/0.2969, allocations: 152.1 kB / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.297, allocations: 23.72 kB / 1.097 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.2971, allocations: 41.67 kB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2972, allocations: 330.8 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.2978, allocations: 259.7 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.2984, allocations: 259.8 kB / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.2995, allocations: 440.4 kB / 1.098 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2995, allocations: 3.938 kB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001218/0.3007, allocations: 0.536 MB / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.3007, allocations: 12 kB / 1.098 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3007, allocations: 0 / 1.098 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3008, allocations: 0 / 1.098 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.3011, allocations: 87.83 kB / 1.098 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3012, allocations: 0 / 1.098 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.3015, allocations: 75.81 kB / 1.099 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.3015, allocations: 11.97 kB / 1.099 GB, free: 6.359 MB / 0.8575 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.0001478/0.3017, allocations: 141.8 kB / 1.099 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.3017, allocations: 23.72 kB / 1.099 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.3018, allocations: 29.64 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3018, allocations: 4 kB / 1.099 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3018, allocations: 3.984 kB / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3018, allocations: 0 / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.3023, allocations: 432.4 kB / 1.099 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3023, allocations: 0 / 1.099 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.3026, allocations: 95.83 kB / 1.099 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3027, allocations: 0 / 1.099 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.3027, allocations: 11.97 kB / 1.099 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3027, allocations: 3.938 kB / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3027, allocations: 0 / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.304, allocations: 0.6315 MB / 1.1 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.3041, allocations: 100.8 kB / 1.1 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.3041, allocations: 4 kB / 1.1 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.3045, allocations: 71.88 kB / 1.1 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.3045, allocations: 15.92 kB / 1.1 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.3046, allocations: 7.984 kB / 1.1 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002046/0.3048, allocations: 217.9 kB / 1.1 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3048, allocations: 4 kB / 1.1 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003314/0.3051, allocations: 43.94 kB / 1.1 GB, free: 4.445 MB / 0.8575 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.0001569/0.3053, allocations: 103.2 kB / 1.1 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.3065, allocations: 0.5268 MB / 1.101 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3065, allocations: 0 / 1.101 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006362/0.3072, allocations: 284.4 kB / 1.101 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.3075, allocations: 16.5 kB / 1.101 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.3086, allocations: 0.5909 MB / 1.102 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.309, allocations: 0.7474 MB / 1.103 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001823/0.3092, allocations: 57.42 kB / 1.103 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3093, allocations: 27.41 kB / 1.103 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.3093, allocations: 0 / 1.103 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of Templates: time 0.006081/0.3154, allocations: 2.911 MB / 1.105 GB, free: 15.12 MB / 0.8731 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