Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.468/2.468, allocations: 469.8 MB / 0.7424 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 74.86 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2383, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003183/0.2415, allocations: 1.98 MB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.2426, allocations: 0.6857 MB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.828e-05/0.2427, allocations: 4 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.2428, allocations: 15.8 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.133e-05/0.2429, allocations: 31.72 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.2432, allocations: 87.78 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.2434, allocations: 147.6 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.2435, allocations: 80.61 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.2436, allocations: 67.7 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.2438, allocations: 67.64 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.2438, allocations: 12 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.2439, allocations: 59.95 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.464e-05/0.244, allocations: 71.81 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.992e-05/0.2441, allocations: 99.33 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.2444, allocations: 255.3 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2444, allocations: 3.984 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2444, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2445, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8262 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.0007517/0.2452, allocations: 0.5398 MB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.2452, allocations: 8.031 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.2453, allocations: 46.75 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.2469, allocations: 427.8 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.2473, allocations: 307.8 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.718e-05/0.2474, allocations: 68.19 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.2474, allocations: 12.38 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008059/0.2483, allocations: 384.3 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2483, allocations: 0 / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.2483, allocations: 8 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.2483, allocations: 4 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.2495, allocations: 0.5314 MB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.2511, allocations: 1.006 MB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.2518, allocations: 294.3 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005929/0.2524, allocations: 272.6 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.2524, allocations: 8.094 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2525, allocations: 34.5 kB / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2525, allocations: 0 / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.001855/0.2543, allocations: 0.7858 MB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.2544, allocations: 55.41 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.2547, allocations: 298.7 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.2547, allocations: 25.7 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2548, allocations: 152.1 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.2548, allocations: 15.75 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.329e-05/0.2549, allocations: 41.67 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2551, allocations: 334.8 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005888/0.2557, allocations: 259.8 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/0.2563, allocations: 260 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.2573, allocations: 452.5 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2573, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001207/0.2585, allocations: 0.5321 MB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2586, allocations: 4 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2586, allocations: 0 / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.2586, allocations: 0 / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.259, allocations: 91.83 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.259, allocations: 0 / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.2593, allocations: 83.8 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.2593, allocations: 7.984 kB / 1.075 GB, free: 3.07 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.0001351/0.2594, allocations: 145.7 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.2595, allocations: 19.72 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.2595, allocations: 25.7 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2596, allocations: 4 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2596, allocations: 4 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2596, allocations: 3.984 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.26, allocations: 444.3 kB / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.26, allocations: 0 / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.2604, allocations: 95.77 kB / 1.075 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2604, allocations: 0 / 1.075 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.2604, allocations: 7.984 kB / 1.075 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2604, allocations: 0 / 1.075 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2604, allocations: 0 / 1.075 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.2617, allocations: 0.6315 MB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.2618, allocations: 100.8 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.2618, allocations: 4 kB / 1.076 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.2621, allocations: 75.86 kB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.2622, allocations: 4 kB / 1.076 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.2622, allocations: 11.97 kB / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001995/0.2624, allocations: 217.9 kB / 1.076 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2624, allocations: 0 / 1.076 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002636/0.2627, allocations: 43.94 kB / 1.077 GB, free: 1.164 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.001565/0.2643, allocations: 1.181 MB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.2655, allocations: 0.5229 MB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2655, allocations: 4 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005926/0.2661, allocations: 279.7 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.2663, allocations: 16.56 kB / 1.078 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/0.2721, allocations: 3.88 MB / 1.082 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.2724, allocations: 0.7552 MB / 1.083 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.2726, allocations: 49.42 kB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.2728, allocations: 84.38 kB / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.2728, allocations: 0 / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7155/0.9883, allocations: 5.015 MB / 1.088 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.681/9.67, allocations: 6.438 kB / 1.088 GB, free: 5.367 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches