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.001737/0.001737, allocations: 98.92 kB / 16.35 MB, free: 5.824 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.001966/0.001966, allocations: 193.4 kB / 17.29 MB, free: 5.48 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.453/2.453, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 68.16 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2915, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003035/0.2946, allocations: 1.995 MB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.2957, allocations: 0.6903 MB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.2958, allocations: 4 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.2959, allocations: 15.8 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.296, allocations: 31.73 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.2963, allocations: 83.78 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.2965, allocations: 147.6 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.2966, allocations: 84.58 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.2967, allocations: 63.72 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.2968, allocations: 63.64 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.2969, allocations: 16 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.297, allocations: 67.94 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.228e-05/0.2971, allocations: 67.81 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.97e-05/0.2972, allocations: 95.34 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.2975, allocations: 267 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2975, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2975, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2975, allocations: 0 / 1.03 GB, free: 14.33 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.0007563/0.2983, allocations: 0.5375 MB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.2983, allocations: 8.031 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.3, allocations: 419.9 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.3004, allocations: 315.7 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/0.3005, allocations: 72.17 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.3005, allocations: 12.38 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008135/0.3014, allocations: 384.7 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3014, allocations: 0 / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.3014, allocations: 8 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3014, allocations: 4 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.3026, allocations: 0.5353 MB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.3042, allocations: 0.9977 MB / 1.034 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000642/0.3049, allocations: 294.3 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005796/0.3055, allocations: 268.6 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.3055, allocations: 0 / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3055, allocations: 34.56 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3055, allocations: 0 / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.001831/0.3074, allocations: 0.7857 MB / 1.035 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.3074, allocations: 55.41 kB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.3077, allocations: 294.7 kB / 1.035 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.3078, allocations: 29.7 kB / 1.035 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3079, allocations: 156.3 kB / 1.035 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.3079, allocations: 27.64 kB / 1.035 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-05/0.308, allocations: 29.69 kB / 1.035 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3081, allocations: 346.6 kB / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006212/0.3088, allocations: 259.8 kB / 1.036 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.3094, allocations: 259.7 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.3104, allocations: 436.4 kB / 1.037 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3104, allocations: 4 kB / 1.037 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001226/0.3116, allocations: 0.5325 MB / 1.037 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3117, allocations: 4 kB / 1.037 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3117, allocations: 0 / 1.037 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3117, allocations: 4 kB / 1.037 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.3121, allocations: 91.83 kB / 1.037 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3121, allocations: 0 / 1.037 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.3124, allocations: 71.86 kB / 1.037 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.3125, allocations: 11.98 kB / 1.037 GB, free: 6.891 MB / 0.8106 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.0001347/0.3126, allocations: 145.8 kB / 1.037 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.3127, allocations: 19.72 kB / 1.038 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.3127, allocations: 25.7 kB / 1.038 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.3127, allocations: 0 / 1.038 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3127, allocations: 0 / 1.038 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3127, allocations: 4 kB / 1.038 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.3132, allocations: 444.3 kB / 1.038 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3132, allocations: 4 kB / 1.038 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.3136, allocations: 99.77 kB / 1.038 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.3136, allocations: 0 / 1.038 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.3136, allocations: 7.984 kB / 1.038 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3136, allocations: 80 / 1.038 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3136, allocations: 3.984 kB / 1.038 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.3149, allocations: 0.6315 MB / 1.039 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.315, allocations: 96.83 kB / 1.039 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.3151, allocations: 8 kB / 1.039 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.3154, allocations: 71.86 kB / 1.039 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.3155, allocations: 7.984 kB / 1.039 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.3155, allocations: 7.984 kB / 1.039 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002097/0.3157, allocations: 225.9 kB / 1.039 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.054e-06/0.3157, allocations: 0 / 1.039 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003024/0.3161, allocations: 43.88 kB / 1.039 GB, free: 4.98 MB / 0.8106 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.0001584/0.3162, allocations: 107.2 kB / 1.039 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.3175, allocations: 0.5268 MB / 1.04 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3175, allocations: 0 / 1.04 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006096/0.3181, allocations: 275.7 kB / 1.04 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3184, allocations: 16.5 kB / 1.04 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.3196, allocations: 0.5949 MB / 1.041 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.32, allocations: 0.7551 MB / 1.041 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.3202, allocations: 53.42 kB / 1.041 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.3203, allocations: 27.41 kB / 1.041 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.3203, allocations: 0 / 1.041 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of Templates: time 0.006108/0.3264, allocations: 2.839 MB / 1.044 GB, free: 15.74 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 -s gbode -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/jenkins1/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