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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002334/0.002334, allocations: 187.4 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: 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_10_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_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 67.89 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9754/0.9777, allocations: 160.8 MB / 1.218 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004386/0.982, allocations: 2.009 MB / 1.22 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.9839, allocations: 0.7069 MB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.9841, allocations: 7.062 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.9842, allocations: 24.7 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.9844, allocations: 19.11 kB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.9848, allocations: 92.56 kB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.9851, allocations: 144.3 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.9853, allocations: 66.2 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.9854, allocations: 64.77 kB / 1.222 GB, free: 1.402 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.9856, allocations: 72.14 kB / 1.222 GB, free: 1.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.9856, allocations: 18.62 kB / 1.222 GB, free: 1.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.9858, allocations: 67.47 kB / 1.222 GB, free: 1.312 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.986, allocations: 74.34 kB / 1.222 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.9861, allocations: 91.94 kB / 1.222 GB, free: 1.188 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.9865, allocations: 268.7 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9865, allocations: 1 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9865, allocations: 0 / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.9866, allocations: 0 / 1.222 GB, free: 0.9922 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.001078/0.9876, allocations: 0.5461 MB / 1.223 GB, free: 484 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.9877, allocations: 9.656 kB / 1.223 GB, free: 484 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.9895, allocations: 426.7 kB / 1.223 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/0.9901, allocations: 311.5 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.9902, allocations: 68.19 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.9902, allocations: 16.09 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009177/0.9911, allocations: 388.3 kB / 1.224 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.9911, allocations: 0 / 1.224 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.9912, allocations: 5 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.9912, allocations: 3.219 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.9927, allocations: 0.5421 MB / 1.224 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.995, allocations: 1.004 MB / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007128/0.9957, allocations: 282.3 kB / 1.226 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/0.9964, allocations: 279.2 kB / 1.226 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.9964, allocations: 1.312 kB / 1.226 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.9964, allocations: 35.94 kB / 1.226 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.9964, allocations: 0 / 1.226 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.002229/0.9987, allocations: 0.7792 MB / 1.227 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.9987, allocations: 52.72 kB / 1.227 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.9991, allocations: 303.2 kB / 1.227 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.9991, allocations: 29.7 kB / 1.227 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.9993, allocations: 153.9 kB / 1.227 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.9994, allocations: 22.58 kB / 1.227 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.9994, allocations: 36.52 kB / 1.227 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003189/0.9998, allocations: 337.4 kB / 1.228 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006568/1, allocations: 262.9 kB / 1.228 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/1.001, allocations: 260.2 kB / 1.228 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/1.002, allocations: 438.2 kB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.002, allocations: 0 / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001571/1.004, allocations: 0.536 MB / 1.229 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.004, allocations: 7.938 kB / 1.229 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.004, allocations: 0 / 1.229 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.004, allocations: 4 kB / 1.229 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/1.004, allocations: 95.77 kB / 1.229 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/1.004, allocations: 0 / 1.229 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/1.005, allocations: 83.81 kB / 1.229 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/1.005, allocations: 7.984 kB / 1.229 GB, free: 12.11 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.0003166/1.005, allocations: 141.8 kB / 1.229 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/1.005, allocations: 19.86 kB / 1.229 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/1.005, allocations: 25.7 kB / 1.229 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/1.005, allocations: 0 / 1.229 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.005, allocations: 0 / 1.229 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.005, allocations: 7.984 kB / 1.229 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006224/1.006, allocations: 432.2 kB / 1.23 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.006, allocations: 12 kB / 1.23 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/1.006, allocations: 87.83 kB / 1.23 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.006, allocations: 0 / 1.23 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/1.006, allocations: 7.984 kB / 1.23 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.006, allocations: 0 / 1.23 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.006, allocations: 4 kB / 1.23 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/1.008, allocations: 0.6316 MB / 1.23 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/1.008, allocations: 108.9 kB / 1.231 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/1.008, allocations: 0 / 1.231 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/1.008, allocations: 71.86 kB / 1.231 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/1.008, allocations: 11.98 kB / 1.231 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/1.008, allocations: 7.984 kB / 1.231 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003016/1.009, allocations: 217.2 kB / 1.231 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/1.009, allocations: 0 / 1.231 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003323/1.009, allocations: 43.88 kB / 1.231 GB, free: 10.21 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.0003169/1.009, allocations: 117.5 kB / 1.231 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001323/1.011, allocations: 0.5235 MB / 1.232 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.011, allocations: 0 / 1.232 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000743/1.011, allocations: 271.7 kB / 1.232 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/1.012, allocations: 22.92 kB / 1.232 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/1.013, allocations: 0.591 MB / 1.232 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/1.014, allocations: 0.7552 MB / 1.233 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001862/1.014, allocations: 53.42 kB / 1.233 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/1.014, allocations: 31.39 kB / 1.233 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/1.014, allocations: 4 kB / 1.233 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of Templates: time 0.008441/1.023, allocations: 2.893 MB / 1.236 GB, free: 4.898 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.047477493993938]