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.001576/0.001576, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.00167/0.00167, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.479/1.479, 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.885/2.885, 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.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.002033/0.002033, allocations: 71.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.887/0.8891, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002355/0.8914, allocations: 1.601 MB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008895/0.8923, allocations: 0.6593 MB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.8924, allocations: 0 / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.303e-05/0.8924, allocations: 3.938 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.683e-05/0.8925, allocations: 10.66 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.8927, allocations: 68.55 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.409e-05/0.8928, allocations: 52.89 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.265e-05/0.8929, allocations: 13.11 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.893, allocations: 30.34 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.8931, allocations: 21.34 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.8931, allocations: 5.75 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.8932, allocations: 55.36 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.8933, allocations: 27.41 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.8933, allocations: 29.72 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.8934, allocations: 109 kB / 1.325 GB, free: 23.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.8935, allocations: 0 / 1.325 GB, free: 23.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8935, allocations: 0 / 1.325 GB, free: 23.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.8935, allocations: 0 / 1.325 GB, free: 23.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004532/0.8939, allocations: 401.4 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.8939, allocations: 16.98 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008927/0.8948, allocations: 221.8 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.895, allocations: 208.4 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.8951, allocations: 36.5 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.8951, allocations: 7.938 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.8954, allocations: 170.9 kB / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.8955, allocations: 0 / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.8955, allocations: 4 kB / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.8955, allocations: 0 / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005113/0.896, allocations: 238.2 kB / 1.326 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/0.8967, allocations: 0.5098 MB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.8972, allocations: 240.7 kB / 1.327 GB, free: 22.13 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.8975, allocations: 119 kB / 1.327 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.8975, allocations: 0.5312 kB / 1.327 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.8975, allocations: 31.47 kB / 1.327 GB, free: 22.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8975, allocations: 0 / 1.327 GB, free: 22.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0009865/0.8985, allocations: 371.7 kB / 1.327 GB, free: 21.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.8985, allocations: 56.47 kB / 1.327 GB, free: 21.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.8987, allocations: 172.3 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.8987, allocations: 31.02 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.8987, allocations: 100.1 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.8987, allocations: 12 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.8988, allocations: 22.36 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.8988, allocations: 325 kB / 1.328 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.8991, allocations: 115.2 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.8994, allocations: 111.3 kB / 1.328 GB, free: 21.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005483/0.9, allocations: 194.9 kB / 1.328 GB, free: 21.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.9, allocations: 4 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006766/0.9006, allocations: 259.4 kB / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.9007, allocations: 5.531 kB / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.9007, allocations: 0 / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.9007, allocations: 1.328 kB / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.9009, allocations: 47.42 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.9009, allocations: 4.812 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.9011, allocations: 42.66 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.9011, allocations: 3.297 kB / 1.328 GB, free: 21.17 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: 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 6.642e-05/0.9012, allocations: 117.9 kB / 1.329 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.9012, allocations: 16.09 kB / 1.329 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.9012, allocations: 9.688 kB / 1.329 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.9012, allocations: 1.562 kB / 1.329 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.9013, allocations: 3.938 kB / 1.329 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.9013, allocations: 0 / 1.329 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.9015, allocations: 252.1 kB / 1.329 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9015, allocations: 5.125 kB / 1.329 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.9017, allocations: 43.09 kB / 1.329 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9017, allocations: 0.625 kB / 1.329 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.9017, allocations: 4.109 kB / 1.329 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.9017, allocations: 0.5312 kB / 1.329 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9017, allocations: 4.75 kB / 1.329 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006931/0.9024, allocations: 353.9 kB / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.9024, allocations: 85.72 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.9025, allocations: 1.141 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.9027, allocations: 37.95 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.9027, allocations: 5.797 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.9027, allocations: 5.172 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.797e-05/0.9028, allocations: 129.8 kB / 1.33 GB, free: 20.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9028, allocations: 0 / 1.33 GB, free: 20.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002567/0.9031, allocations: 16.38 kB / 1.33 GB, free: 20.45 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: 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.0001276/0.9032, allocations: 101 kB / 1.33 GB, free: 20.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006746/0.9039, allocations: 238.4 kB / 1.33 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9039, allocations: 0 / 1.33 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.9042, allocations: 123.9 kB / 1.33 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.9044, allocations: 6.25 kB / 1.33 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.905, allocations: 322.9 kB / 1.33 GB, free: 20.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.9052, allocations: 0.698 MB / 1.331 GB, free: 19.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.9052, allocations: 20.59 kB / 1.331 GB, free: 19.41 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.9052, allocations: 0 / 1.331 GB, free: 19.41 MB / 1.061 GB Notification: Performance of Templates: time 0.003789/0.909, allocations: 1.711 MB / 1.333 GB, free: 19.23 MB / 1.061 GB " [Timeout remaining time 299] 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/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: 11.652660141000524]