Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_10_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.006337/0.006337, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001719/0.001719, allocations: 196.8 kB / 16.68 MB, free: 6.352 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.267/2.267, allocations: 437.1 MB / 0.7106 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 71.88 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2386, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002627/0.2412, allocations: 1.981 MB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009751/0.2422, allocations: 0.6943 MB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.2423, allocations: 4 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.2424, allocations: 19.8 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.2425, allocations: 27.72 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.2428, allocations: 83.78 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.2429, allocations: 147.6 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.2431, allocations: 80.61 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.092e-05/0.2432, allocations: 59.77 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.759e-05/0.2433, allocations: 79.56 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.2433, allocations: 16 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.2435, allocations: 59.95 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.334e-05/0.2435, allocations: 75.73 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.748e-05/0.2436, allocations: 91.41 kB / 1.17 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.2439, allocations: 267 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.2439, allocations: 0 / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2439, allocations: 0 / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.2439, allocations: 0 / 1.17 GB, free: 3.578 MB / 0.92 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.0006607/0.2446, allocations: 0.5411 MB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.2446, allocations: 12.03 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.2447, allocations: 46.73 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.2461, allocations: 424 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.2465, allocations: 319.9 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-05/0.2465, allocations: 72.19 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.2466, allocations: 8.375 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/0.2473, allocations: 395.5 kB / 1.172 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2473, allocations: 4 kB / 1.172 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.2473, allocations: 4 kB / 1.172 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2473, allocations: 7.984 kB / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.2484, allocations: 0.5307 MB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.2499, allocations: 1.009 MB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/0.2505, allocations: 294.3 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.251, allocations: 276.6 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.2511, allocations: 4 kB / 1.174 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2511, allocations: 30.56 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.2511, allocations: 0 / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.001692/0.2528, allocations: 0.782 MB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.2528, allocations: 55.41 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.2531, allocations: 302.6 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.2531, allocations: 25.7 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.2532, allocations: 156.2 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.2533, allocations: 20 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.2534, allocations: 37.67 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2535, allocations: 342.8 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005413/0.254, allocations: 255.8 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.2546, allocations: 260.1 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009409/0.2555, allocations: 440.5 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2555, allocations: 0 / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001094/0.2566, allocations: 0.5361 MB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.2566, allocations: 4 kB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2566, allocations: 0 / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2567, allocations: 4 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.257, allocations: 99.83 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.257, allocations: 0 / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.2573, allocations: 83.75 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.2573, allocations: 7.984 kB / 1.177 GB, free: 12.03 MB / 0.9356 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.0001226/0.2574, allocations: 141.8 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.2575, allocations: 19.86 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.2575, allocations: 25.7 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2575, allocations: 0 / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2575, allocations: 0 / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2576, allocations: 4 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.258, allocations: 444.2 kB / 1.178 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.258, allocations: 0 / 1.178 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.2583, allocations: 95.77 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2583, allocations: 4 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.2584, allocations: 11.98 kB / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2584, allocations: 0 / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2584, allocations: 0 / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.2595, allocations: 0.6239 MB / 1.178 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.2596, allocations: 105 kB / 1.178 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.2596, allocations: 0 / 1.178 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.2599, allocations: 75.86 kB / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.26, allocations: 4 kB / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.26, allocations: 7.984 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000193/0.2602, allocations: 221.9 kB / 1.179 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.2602, allocations: 0 / 1.179 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002438/0.2604, allocations: 43.89 kB / 1.179 GB, free: 10.13 MB / 0.9356 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.001446/0.2619, allocations: 1.177 MB / 1.18 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.263, allocations: 0.5268 MB / 1.18 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.263, allocations: 3.938 kB / 1.18 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.2636, allocations: 271.7 kB / 1.181 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.2638, allocations: 22.27 kB / 1.181 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/0.2693, allocations: 3.899 MB / 1.184 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.2696, allocations: 0.7474 MB / 1.185 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001818/0.2698, allocations: 61.41 kB / 1.185 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.27, allocations: 83.38 kB / 1.185 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.27, allocations: 0 / 1.185 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.934/2.204, allocations: 5.062 MB / 1.19 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/14.45, allocations: 11.64 kB / 1.19 GB, free: 14.3 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches