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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001701/0.001701, allocations: 196.3 kB / 16.14 MB, free: 6.691 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.882/2.882, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 71.17 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3027, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003636/0.3063, allocations: 2.043 MB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3077, allocations: 0.6934 MB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.3079, allocations: 8 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.3081, allocations: 11.86 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.546e-05/0.3082, allocations: 19.86 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.3085, allocations: 71.88 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.3086, allocations: 139.6 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.3089, allocations: 84.59 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.309, allocations: 51.72 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.3091, allocations: 71.61 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.3091, allocations: 12 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.3093, allocations: 51.95 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.3094, allocations: 55.83 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.967e-05/0.3095, allocations: 91.28 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.3098, allocations: 255.4 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3099, allocations: 0 / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3099, allocations: 0 / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3099, allocations: 0 / 1.056 GB, free: 5.176 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.0009475/0.3108, allocations: 0.5375 MB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3109, allocations: 8.031 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.3126, allocations: 419.9 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.313, allocations: 315.7 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.3131, allocations: 68.19 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.3131, allocations: 16.38 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/0.314, allocations: 384 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.314, allocations: 0 / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.314, allocations: 4 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3141, allocations: 4 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.3153, allocations: 0.5392 MB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.3171, allocations: 0.9977 MB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.3178, allocations: 294.3 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.3184, allocations: 272.6 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3185, allocations: 4 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.3185, allocations: 34.5 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.545e-06/0.3185, allocations: 0 / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.00205/0.3206, allocations: 0.7975 MB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.3206, allocations: 55.39 kB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.321, allocations: 290.8 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.3211, allocations: 25.7 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3212, allocations: 156.2 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.3212, allocations: 23.66 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/0.3213, allocations: 33.67 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3215, allocations: 342.8 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006308/0.3221, allocations: 259.8 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.3227, allocations: 259.7 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.3238, allocations: 440.9 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3238, allocations: 0 / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001259/0.3251, allocations: 0.5359 MB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3251, allocations: 5.719 kB / 1.063 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3251, allocations: 0 / 1.063 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3252, allocations: 8 kB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.3256, allocations: 87.83 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3256, allocations: 0 / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.3259, allocations: 71.88 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.326, allocations: 19.91 kB / 1.063 GB, free: 13.72 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.0001648/0.3262, allocations: 143.3 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.3262, allocations: 19.72 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.3263, allocations: 25.7 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3263, allocations: 0 / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3263, allocations: 0 / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3263, allocations: 0 / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.3268, allocations: 448.3 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3268, allocations: 0 / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.3272, allocations: 95.83 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3272, allocations: 0 / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.3272, allocations: 11.97 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3273, allocations: 0 / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3273, allocations: 0 / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.3286, allocations: 0.6354 MB / 1.064 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/0.3287, allocations: 104.8 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.3287, allocations: 0 / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.3291, allocations: 71.88 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.3292, allocations: 3.984 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.3292, allocations: 11.98 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002242/0.3294, allocations: 221.9 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3294, allocations: 0 / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003104/0.3297, allocations: 39.84 kB / 1.064 GB, free: 11.82 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.0001734/0.3299, allocations: 107.2 kB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.3312, allocations: 0.5307 MB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3312, allocations: 0 / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006077/0.3318, allocations: 275.7 kB / 1.065 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3321, allocations: 19.89 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3334, allocations: 0.6514 MB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.3338, allocations: 0.7477 MB / 1.067 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002413/0.3341, allocations: 57.36 kB / 1.067 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.3342, allocations: 31.39 kB / 1.067 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3342, allocations: 0 / 1.067 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of Templates: time 0.006046/0.3402, allocations: 2.675 MB / 1.069 GB, free: 6.672 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