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.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.0009077/0.0009077, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001338/0.001338, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9672/0.9672, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.443/2.443, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.743e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002768/0.002795, allocations: 2.007 MB / 0.8406 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.004119, allocations: 0.732 MB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.004277, allocations: 7.938 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.004459, allocations: 15.8 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.017e-05/0.004549, allocations: 31.67 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.004921, allocations: 99.75 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.005098, allocations: 155.5 kB / 0.8416 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.005236, allocations: 58.27 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.005402, allocations: 99.72 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.005468, allocations: 51.8 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.005492, allocations: 12 kB / 0.8418 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.005607, allocations: 59.95 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.811e-05/0.005686, allocations: 79.73 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.00573, allocations: 51.78 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.005943, allocations: 191.2 kB / 0.8422 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005945, allocations: 0 / 0.8422 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.879e-06/0.00595, allocations: 0 / 0.8422 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.005955, allocations: 0 / 0.8422 GB, free: 10.55 MB / 0.8073 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.0004865/0.006442, allocations: 459.5 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.006473, allocations: 8.625 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006382/0.007111, allocations: 352.3 kB / 0.8429 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.007407, allocations: 224.7 kB / 0.8432 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.00753, allocations: 135.6 kB / 0.8433 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.007561, allocations: 16.38 kB / 0.8433 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.007971, allocations: 280.5 kB / 0.8436 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.007984, allocations: 192 / 0.8436 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.008005, allocations: 12.11 kB / 0.8436 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.008013, allocations: 4 kB / 0.8436 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.008198, allocations: 192.6 kB / 0.8438 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.009001, allocations: 0.7072 MB / 0.8445 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.009219, allocations: 170.4 kB / 0.8446 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.009312, allocations: 112.9 kB / 0.8447 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.009326, allocations: 0 / 0.8447 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.009349, allocations: 38.5 kB / 0.8448 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.00935, allocations: 0 / 0.8448 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0006579/0.01001, allocations: 301.6 kB / 0.845 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.01004, allocations: 55.41 kB / 0.8451 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.01017, allocations: 233 kB / 0.8453 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.01019, allocations: 29.7 kB / 0.8454 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.01025, allocations: 132.4 kB / 0.8455 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.01028, allocations: 27.75 kB / 0.8455 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.01034, allocations: 65.61 kB / 0.8456 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.01043, allocations: 334.8 kB / 0.8459 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.01054, allocations: 119.9 kB / 0.846 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.01065, allocations: 133.5 kB / 0.8461 GB, free: 6.293 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.01083, allocations: 213.4 kB / 0.8463 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.01083, allocations: 0 / 0.8463 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002427/0.01107, allocations: 269.4 kB / 0.8466 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01109, allocations: 7.984 kB / 0.8466 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01109, allocations: 3.938 kB / 0.8466 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.0111, allocations: 0 / 0.8466 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.01128, allocations: 115.8 kB / 0.8467 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.01128, allocations: 0 / 0.8467 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.285e-05/0.01137, allocations: 63.95 kB / 0.8468 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.16e-05/0.01147, allocations: 139.7 kB / 0.8469 GB, free: 5.484 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 8.443e-05/0.01155, allocations: 116.7 kB / 0.847 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.01158, allocations: 15.98 kB / 0.847 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.01161, allocations: 25.7 kB / 0.8471 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01161, allocations: 4 kB / 0.8471 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.01162, allocations: 0 / 0.8471 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01162, allocations: 0 / 0.8471 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.01186, allocations: 265.6 kB / 0.8473 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01186, allocations: 0 / 0.8473 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.012, allocations: 111.8 kB / 0.8474 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.012, allocations: 4 kB / 0.8474 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.01202, allocations: 19.97 kB / 0.8474 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01202, allocations: 0 / 0.8474 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01202, allocations: 7.922 kB / 0.8474 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.01229, allocations: 355.3 kB / 0.8478 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.01231, allocations: 27.77 kB / 0.8478 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.01233, allocations: 4 kB / 0.8478 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.01244, allocations: 71.84 kB / 0.8479 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.01248, allocations: 15.92 kB / 0.8479 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.075e-05/0.01257, allocations: 135.7 kB / 0.848 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.315e-05/0.01263, allocations: 86.77 kB / 0.8481 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01263, allocations: 0 / 0.8481 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001754/0.01281, allocations: 39.89 kB / 0.8482 GB, free: 4.164 MB / 0.8073 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.0001377/0.01295, allocations: 82.95 kB / 0.8482 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.01321, allocations: 280.5 kB / 0.8485 GB, free: 3.797 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.01322, allocations: 8.062 kB / 0.8485 GB, free: 3.789 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.01334, allocations: 152.6 kB / 0.8487 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.01353, allocations: 41.16 kB / 0.8487 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.0142, allocations: 468.2 kB / 0.8491 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.284e-05/0.01425, allocations: 91.8 kB / 0.8492 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002942/0.01454, allocations: 376.8 kB / 0.8496 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.01468, allocations: 111.3 kB / 0.8497 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of SimCode: time 1.062e-06/0.01468, allocations: 4 kB / 0.8497 GB, free: 2.523 MB / 0.8073 GB Notification: Performance of Templates: time 0.005414/0.0201, allocations: 3.415 MB / 0.853 GB, free: 15.15 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.311154413968325]