Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.001808/0.001808, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002262/0.002262, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.607/1.607, allocations: 230.6 MB / 256 MB, free: 7.785 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.309/3.309, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [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.002133/0.002133, allocations: 66.45 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.407, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002972/0.41, allocations: 1.585 MB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.4112, allocations: 0.6118 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.4113, allocations: 7.938 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.274e-05/0.4113, allocations: 3.938 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.551e-05/0.4114, allocations: 7.875 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.4117, allocations: 67.8 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.4119, allocations: 51.78 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.412, allocations: 8 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.4121, allocations: 31.91 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.118e-05/0.4122, allocations: 31.84 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.4122, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.4123, allocations: 51.95 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.4124, allocations: 23.91 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.4124, allocations: 27.8 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.4126, allocations: 95.62 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4126, allocations: 7.938 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4126, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.4126, allocations: 0 / 1.328 GB, free: 15.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005678/0.4132, allocations: 325.8 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.4132, allocations: 12.03 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009418/0.4142, allocations: 212.5 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.4144, allocations: 164.3 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/0.4145, allocations: 59.95 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.4145, allocations: 3.938 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.415, allocations: 169.5 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.415, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.415, allocations: 7.984 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.415, allocations: 4 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00059/0.4156, allocations: 231.7 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/0.4164, allocations: 455.5 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.417, allocations: 234.3 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.4174, allocations: 120.8 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.4174, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.4175, allocations: 34.56 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.4175, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.001083/0.4185, allocations: 373.2 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.4186, allocations: 51.41 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.4187, allocations: 160.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.4188, allocations: 29.7 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.4188, allocations: 104.1 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.4189, allocations: 7.953 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.4189, allocations: 17.7 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4191, allocations: 322.8 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.4194, allocations: 107.9 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.4197, allocations: 119.9 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/0.4202, allocations: 204.6 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4202, allocations: 3.938 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006498/0.4209, allocations: 257.4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4209, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4209, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4209, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.4211, allocations: 51.94 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.4211, allocations: 7.922 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.4213, allocations: 31.94 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.4213, allocations: 4 kB / 1.332 GB, free: 11.22 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001071/0.4214, allocations: 117.8 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.4214, allocations: 11.95 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.4214, allocations: 15.95 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4214, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4215, allocations: 3.938 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4215, allocations: 0 / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.4217, allocations: 177.3 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4217, allocations: 4 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.4219, allocations: 47.86 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4219, allocations: 0 / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.4219, allocations: 3.984 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4219, allocations: 8 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4219, allocations: 0 / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007034/0.4226, allocations: 355.2 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.144e-05/0.4226, allocations: 7.953 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.4227, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.4228, allocations: 31.94 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.4229, allocations: 11.95 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4229, allocations: 4 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001006/0.423, allocations: 125.1 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.423, allocations: 0 / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002554/0.4232, allocations: 23.89 kB / 1.333 GB, free: 10.23 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000159/0.4234, allocations: 103.2 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006638/0.4241, allocations: 243.7 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4241, allocations: 3.938 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.4244, allocations: 115.9 kB / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.4246, allocations: 7.609 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006885/0.4253, allocations: 310.6 kB / 1.333 GB, free: 9.441 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.885e-05/0.4254, allocations: 83.61 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.78e-05/0.4255, allocations: 19.98 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.4255, allocations: 19.42 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4255, allocations: 0 / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of Templates: time 0.004221/0.4298, allocations: 1.349 MB / 1.335 GB, free: 7.953 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.433668611571193]