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.001599/0.001599, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001733/0.001733, allocations: 204 kB / 20.09 MB, free: 2.977 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.483/1.483, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.839/2.839, allocations: 0.49 GB / 0.7923 GB, free: 1.305 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [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.00199/0.00199, allocations: 71.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9091/0.9111, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002588/0.9136, allocations: 2.001 MB / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.9147, allocations: 0.7549 MB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.9148, allocations: 6.812 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.9149, allocations: 22.33 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.45e-05/0.915, allocations: 21.38 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.9153, allocations: 102.1 kB / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.9154, allocations: 150.5 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.9156, allocations: 66.38 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.9157, allocations: 70.75 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/0.9158, allocations: 72.25 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.9158, allocations: 14.19 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.916, allocations: 74.86 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.203e-05/0.9161, allocations: 68.14 kB / 1.325 GB, free: 22.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.9161, allocations: 90.72 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.9164, allocations: 280.9 kB / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9164, allocations: 2.438 kB / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9164, allocations: 0 / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.9164, allocations: 0 / 1.326 GB, free: 22.62 MB / 1.061 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.0006578/0.917, allocations: 0.5443 MB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.9171, allocations: 12.3 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.9187, allocations: 437.9 kB / 1.327 GB, free: 22.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.919, allocations: 321.6 kB / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.9191, allocations: 70.14 kB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.9191, allocations: 11.78 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008443/0.9199, allocations: 383.7 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.92, allocations: 0 / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.92, allocations: 4.906 kB / 1.327 GB, free: 21.65 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.92, allocations: 7.219 kB / 1.327 GB, free: 21.65 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.9213, allocations: 0.5379 MB / 1.328 GB, free: 21.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.9232, allocations: 1.003 MB / 1.329 GB, free: 21.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.9241, allocations: 289 kB / 1.329 GB, free: 20.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009218/0.925, allocations: 273.1 kB / 1.329 GB, free: 20.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.9251, allocations: 5.516 kB / 1.329 GB, free: 20.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.9251, allocations: 36.5 kB / 1.329 GB, free: 20.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.9251, allocations: 0 / 1.329 GB, free: 20.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.002959/0.928, allocations: 0.7808 MB / 1.33 GB, free: 20.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.9281, allocations: 52.66 kB / 1.33 GB, free: 20.6 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.9285, allocations: 299.3 kB / 1.331 GB, free: 20.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.9286, allocations: 27.66 kB / 1.331 GB, free: 20.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.9287, allocations: 153.1 kB / 1.331 GB, free: 20.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.9287, allocations: 33.38 kB / 1.331 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.9289, allocations: 35.11 kB / 1.331 GB, free: 20.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.9289, allocations: 335.4 kB / 1.331 GB, free: 19.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009139/0.9299, allocations: 264.2 kB / 1.331 GB, free: 19.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008898/0.9307, allocations: 260.5 kB / 1.332 GB, free: 19.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.9323, allocations: 438.4 kB / 1.332 GB, free: 19.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9323, allocations: 0 / 1.332 GB, free: 19.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001778/0.9341, allocations: 0.5312 MB / 1.333 GB, free: 19.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.9341, allocations: 9.719 kB / 1.333 GB, free: 19.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.9341, allocations: 0 / 1.333 GB, free: 19.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.9342, allocations: 1.094 kB / 1.333 GB, free: 19.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/0.9348, allocations: 93.11 kB / 1.333 GB, free: 19.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.9348, allocations: 4.594 kB / 1.333 GB, free: 19.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.9354, allocations: 81.27 kB / 1.333 GB, free: 19.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.9354, allocations: 8.891 kB / 1.333 GB, free: 19.56 MB / 1.061 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.0002134/0.9356, allocations: 150.9 kB / 1.333 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.9357, allocations: 21.11 kB / 1.333 GB, free: 19.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.511e-05/0.9358, allocations: 25.5 kB / 1.333 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.9358, allocations: 1.25 kB / 1.333 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.537e-06/0.9358, allocations: 5.25 kB / 1.333 GB, free: 19.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9358, allocations: 0 / 1.333 GB, free: 19.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008574/0.9367, allocations: 437.5 kB / 1.333 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.9367, allocations: 0.75 kB / 1.333 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006083/0.9373, allocations: 92.39 kB / 1.333 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.9373, allocations: 1 kB / 1.333 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.9374, allocations: 11.48 kB / 1.333 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.9374, allocations: 0.5312 kB / 1.333 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9374, allocations: 1.219 kB / 1.333 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.9394, allocations: 0.6301 MB / 1.334 GB, free: 18.87 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.9395, allocations: 103 kB / 1.334 GB, free: 18.76 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.9395, allocations: 0 / 1.334 GB, free: 18.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.94, allocations: 74.12 kB / 1.334 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.9401, allocations: 9.094 kB / 1.334 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.9402, allocations: 8.672 kB / 1.334 GB, free: 18.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003137/0.9405, allocations: 223.4 kB / 1.334 GB, free: 18.63 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9405, allocations: 0 / 1.334 GB, free: 18.63 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000559/0.941, allocations: 45.55 kB / 1.335 GB, free: 18.62 MB / 1.061 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.0001811/0.9412, allocations: 106.6 kB / 1.335 GB, free: 18.53 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001904/0.9431, allocations: 0.5257 MB / 1.335 GB, free: 18.42 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9431, allocations: 0 / 1.335 GB, free: 18.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009353/0.9441, allocations: 278 kB / 1.335 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.9445, allocations: 16.66 kB / 1.335 GB, free: 18.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.9462, allocations: 0.6315 MB / 1.336 GB, free: 18.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.9465, allocations: 0.7495 MB / 1.337 GB, free: 17.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.9467, allocations: 39.67 kB / 1.337 GB, free: 17.32 MB / 1.061 GB Notification: Performance of SimCode: time 9.31e-07/0.9467, allocations: 0 / 1.337 GB, free: 17.32 MB / 1.061 GB Notification: Performance of Templates: time 0.009671/0.9564, allocations: 3.815 MB / 1.341 GB, free: 16.89 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] 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: 12.097525639997912]