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.001348/0.001348, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001532/0.001532, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.415/1.415, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] 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 3.091/3.091, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.001972/0.001972, allocations: 77.45 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3378, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004027/0.3419, allocations: 2.021 MB / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.3436, allocations: 0.748 MB / 1.324 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.3439, allocations: 4 kB / 1.324 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.3442, allocations: 19.73 kB / 1.324 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.3444, allocations: 23.8 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.345, allocations: 99.75 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.3453, allocations: 155.5 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.3455, allocations: 60.84 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.3457, allocations: 67.77 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.3459, allocations: 75.56 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.3459, allocations: 16 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.3462, allocations: 67.94 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3463, allocations: 71.75 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3464, allocations: 91.41 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004802/0.3469, allocations: 274.7 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3469, allocations: 0 / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3469, allocations: 4 kB / 1.325 GB, free: 15.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.659e-06/0.3469, allocations: 0 / 1.325 GB, free: 15.52 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.001083/0.348, allocations: 0.5489 MB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.348, allocations: 11.98 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.239e-05/0.3481, allocations: 46.73 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.35, allocations: 436 kB / 1.326 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.3505, allocations: 316 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.3506, allocations: 72.17 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.3506, allocations: 12.38 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008972/0.3515, allocations: 383.8 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3515, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.3516, allocations: 4 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3516, allocations: 4 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.3529, allocations: 0.5468 MB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.3547, allocations: 1.002 MB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006836/0.3554, allocations: 290.3 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/0.356, allocations: 272.6 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.356, allocations: 0 / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3561, allocations: 34.56 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.3561, allocations: 0 / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.002018/0.3581, allocations: 0.7898 MB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3581, allocations: 51.41 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.3585, allocations: 298.7 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.3585, allocations: 25.7 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3586, allocations: 160.4 kB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.3587, allocations: 27.75 kB / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3588, allocations: 41.67 kB / 1.33 GB, free: 9.965 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3589, allocations: 334.8 kB / 1.33 GB, free: 9.629 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006239/0.3596, allocations: 255.8 kB / 1.33 GB, free: 9.379 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/0.3602, allocations: 259.8 kB / 1.331 GB, free: 9.125 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.3613, allocations: 440.9 kB / 1.331 GB, free: 8.691 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3613, allocations: 3.938 kB / 1.331 GB, free: 8.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001355/0.3626, allocations: 0.5439 MB / 1.331 GB, free: 8.137 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3627, allocations: 10.19 kB / 1.331 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3627, allocations: 0 / 1.331 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3627, allocations: 0 / 1.331 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.3631, allocations: 91.83 kB / 1.332 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3631, allocations: 0 / 1.332 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.3634, allocations: 75.83 kB / 1.332 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.3634, allocations: 7.969 kB / 1.332 GB, free: 7.957 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.0001586/0.3636, allocations: 145.7 kB / 1.332 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.3637, allocations: 27.86 kB / 1.332 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.3637, allocations: 25.7 kB / 1.332 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3637, allocations: 0 / 1.332 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3637, allocations: 0 / 1.332 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3637, allocations: 0 / 1.332 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.3643, allocations: 444 kB / 1.332 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3643, allocations: 0 / 1.332 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.3647, allocations: 103.8 kB / 1.332 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3647, allocations: 0 / 1.332 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.3647, allocations: 7.969 kB / 1.332 GB, free: 7.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3647, allocations: 4 kB / 1.332 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3647, allocations: 0 / 1.332 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.3661, allocations: 0.6278 MB / 1.333 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.599e-05/0.3662, allocations: 101 kB / 1.333 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.3662, allocations: 0 / 1.333 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.3666, allocations: 75.88 kB / 1.333 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.3666, allocations: 3.984 kB / 1.333 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.3667, allocations: 7.984 kB / 1.333 GB, free: 6.305 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002525/0.3669, allocations: 225.9 kB / 1.333 GB, free: 6.082 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3669, allocations: 4 kB / 1.333 GB, free: 6.078 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003242/0.3672, allocations: 43.83 kB / 1.333 GB, free: 6.035 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.001899/0.3691, allocations: 1.173 MB / 1.335 GB, free: 4.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.3705, allocations: 0.5268 MB / 1.335 GB, free: 4.309 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3705, allocations: 3.938 kB / 1.335 GB, free: 4.305 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007056/0.3712, allocations: 271.7 kB / 1.335 GB, free: 4.039 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.3715, allocations: 12.56 kB / 1.335 GB, free: 4.027 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006735/0.3782, allocations: 3.906 MB / 1.339 GB, free: 48 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.3787, allocations: 0.7513 MB / 1.34 GB, free: 15.27 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.3788, allocations: 53.41 kB / 1.34 GB, free: 15.21 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.379, allocations: 83.38 kB / 1.34 GB, free: 15.13 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/0.379, allocations: 0 / 1.34 GB, free: 15.13 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.4098, allocations: 5.125 MB / 1.345 GB, free: 10.15 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.503, allocations: 13.08 kB / 1.345 GB, free: 10.14 MB / 1.045 GB " [Timeout remaining time 291] (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: 14.842340024188161]