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.001757/0.001757, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002225/0.002225, allocations: 213.6 kB / 22.99 MB, free: 4.957 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.393/3.393, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002027/0.002027, allocations: 67.34 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4073, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003076/0.4104, allocations: 1.591 MB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.4117, allocations: 0.6196 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.4117, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.176e-05/0.4118, allocations: 3.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.4119, allocations: 15.86 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.4122, allocations: 59.88 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.4123, allocations: 55.84 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.4124, allocations: 11.98 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.4126, allocations: 31.84 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.4127, allocations: 27.86 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.4127, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.4128, allocations: 55.94 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.4129, allocations: 23.92 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.4129, allocations: 23.86 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.4132, allocations: 107.5 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4132, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4132, allocations: 4 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4132, allocations: 0 / 1.33 GB, free: 14.36 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.0006294/0.4139, allocations: 321.8 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4139, allocations: 8.031 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.415, allocations: 216.5 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.4153, allocations: 158.9 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.4154, allocations: 55.97 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.4154, allocations: 3.938 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.4159, allocations: 185.4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4159, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.4159, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4159, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000661/0.4166, allocations: 239.7 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009067/0.4175, allocations: 443.6 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.4182, allocations: 242.3 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.4185, allocations: 124.7 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.4185, allocations: 0 / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.4185, allocations: 38.55 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.4185, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.001127/0.4197, allocations: 365.4 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.4197, allocations: 55.41 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.4199, allocations: 160.6 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.4199, allocations: 25.7 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.42, allocations: 100.1 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.42, allocations: 7.953 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.4201, allocations: 25.69 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4202, allocations: 318.8 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.4206, allocations: 115.9 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.4209, allocations: 115.9 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.4214, allocations: 200.7 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4214, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006863/0.4221, allocations: 249.4 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4222, allocations: 10.19 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4222, allocations: 4.031 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.4222, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.4224, allocations: 43.91 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.4224, allocations: 7.875 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.4226, allocations: 39.94 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.4226, allocations: 7.969 kB / 1.333 GB, free: 10.36 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.0001065/0.4227, allocations: 117.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.4228, allocations: 7.953 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.4228, allocations: 11.95 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.4228, allocations: 7.938 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4228, allocations: 3.938 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.4228, allocations: 0 / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.4231, allocations: 181.2 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4231, allocations: 0 / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.4233, allocations: 51.91 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4233, allocations: 0 / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.4233, allocations: 4 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4233, allocations: 0 / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4233, allocations: 0 / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007576/0.4241, allocations: 359.2 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.4241, allocations: 7.891 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.4242, allocations: 7.984 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.4244, allocations: 35.97 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.4244, allocations: 11.86 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.4244, allocations: 7.984 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000103/0.4245, allocations: 121.1 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4245, allocations: 0 / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002751/0.4248, allocations: 23.89 kB / 1.334 GB, free: 9.359 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.000213/0.425, allocations: 103.3 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000704/0.4257, allocations: 235.7 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4257, allocations: 64 / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.426, allocations: 123.9 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.4263, allocations: 4 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/0.427, allocations: 307.1 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.432e-05/0.4271, allocations: 83.59 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.872e-05/0.4272, allocations: 20 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.4273, allocations: 15.42 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4273, allocations: 0 / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of Templates: time 0.004354/0.4316, allocations: 1.371 MB / 1.336 GB, free: 7.066 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 -s cvode -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/jenkins1/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.510082622000482]