Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 218 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.319/1.319, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.936/2.936, allocations: 0.49 GB / 0.7951 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.47 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3034, allocations: 176.1 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003454/0.3068, allocations: 1.966 MB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3081, allocations: 0.7169 MB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.541e-05/0.3082, allocations: 7.938 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.3083, allocations: 15.8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.163e-05/0.3084, allocations: 27.72 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.3088, allocations: 99.77 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.309, allocations: 151.6 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.3091, allocations: 61.19 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3093, allocations: 75.64 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.3094, allocations: 71.62 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.3094, allocations: 16 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.3095, allocations: 79.86 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3097, allocations: 63.83 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.497e-05/0.3097, allocations: 67.53 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.3101, allocations: 278.8 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3101, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3101, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3101, allocations: 7.938 kB / 1.329 GB, free: 13.73 MB / 1.029 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.0007816/0.3109, allocations: 477 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3109, allocations: 8.031 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.348e-05/0.311, allocations: 46.73 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.3128, allocations: 440 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.3132, allocations: 257.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.3133, allocations: 119.6 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.3134, allocations: 12.38 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008731/0.3142, allocations: 383.1 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3142, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.381e-05/0.3143, allocations: 4 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3143, allocations: 4 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.3156, allocations: 0.5468 MB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.3173, allocations: 0.9108 MB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/0.318, allocations: 294.2 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/0.3186, allocations: 280.5 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.3186, allocations: 0 / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3187, allocations: 34.56 kB / 1.333 GB, free: 9.805 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.3187, allocations: 4 kB / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.001955/0.3206, allocations: 0.7822 MB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.3207, allocations: 51.41 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.321, allocations: 297.9 kB / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.321, allocations: 33.64 kB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3211, allocations: 148.3 kB / 1.334 GB, free: 8.461 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.3211, allocations: 23.8 kB / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/0.3212, allocations: 37.67 kB / 1.334 GB, free: 8.395 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3214, allocations: 342.8 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006216/0.322, allocations: 251.8 kB / 1.335 GB, free: 7.805 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/0.3226, allocations: 263.7 kB / 1.335 GB, free: 7.547 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.3237, allocations: 444.9 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3237, allocations: 0 / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001305/0.325, allocations: 0.5323 MB / 1.336 GB, free: 6.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3251, allocations: 4 kB / 1.336 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.3251, allocations: 4 kB / 1.336 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3251, allocations: 0 / 1.336 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.3255, allocations: 99.77 kB / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3255, allocations: 0 / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.3258, allocations: 79.81 kB / 1.336 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.3258, allocations: 7.984 kB / 1.336 GB, free: 6.379 MB / 1.029 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.000144/0.326, allocations: 146.8 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.326, allocations: 19.86 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.3261, allocations: 25.72 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3261, allocations: 3.984 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3261, allocations: 0 / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3261, allocations: 4 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.3265, allocations: 375.2 kB / 1.337 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3265, allocations: 0 / 1.337 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.3269, allocations: 91.83 kB / 1.337 GB, free: 5.668 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3269, allocations: 4 kB / 1.337 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.327, allocations: 11.97 kB / 1.337 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.327, allocations: 0 / 1.337 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.327, allocations: 3.938 kB / 1.337 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.3283, allocations: 0.6317 MB / 1.338 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.3283, allocations: 23.84 kB / 1.338 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.3284, allocations: 8 kB / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.3287, allocations: 67.88 kB / 1.338 GB, free: 4.902 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.3288, allocations: 7.984 kB / 1.338 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.3288, allocations: 19.91 kB / 1.338 GB, free: 4.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002081/0.329, allocations: 213.2 kB / 1.338 GB, free: 4.668 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.329, allocations: 4 kB / 1.338 GB, free: 4.664 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003002/0.3293, allocations: 39.89 kB / 1.338 GB, free: 4.625 MB / 1.029 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.001655/0.331, allocations: 1.184 MB / 1.339 GB, free: 3.414 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.3322, allocations: 0.519 MB / 1.34 GB, free: 2.895 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3322, allocations: 0 / 1.34 GB, free: 2.895 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006434/0.3329, allocations: 283.6 kB / 1.34 GB, free: 2.617 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.3332, allocations: 12.5 kB / 1.34 GB, free: 2.602 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006186/0.3394, allocations: 3.896 MB / 1.344 GB, free: 14.63 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.3395, allocations: 144.6 kB / 1.344 GB, free: 14.47 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.3397, allocations: 53.42 kB / 1.344 GB, free: 14.42 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.3399, allocations: 83.38 kB / 1.344 GB, free: 14.34 MB / 1.045 GB Notification: Performance of SimCode: time 1.001e-06/0.3399, allocations: 4 kB / 1.344 GB, free: 14.33 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.3736, allocations: 5.847 MB / 1.35 GB, free: 8.629 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.79, allocations: 8.75 kB / 1.35 GB, free: 8.625 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.757468117022654]