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.0008467/0.0008467, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001008/0.001008, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 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 0.8863/0.8863, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.911/1.911, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.9e-05, allocations: 6.25 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.001937/0.001956, allocations: 1.644 MB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.002776, allocations: 0.6397 MB / 0.7623 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.002823, allocations: 4.969 kB / 0.7623 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.253e-05/0.002866, allocations: 8.75 kB / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.183e-05/0.002948, allocations: 12.41 kB / 0.7623 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.003249, allocations: 73.03 kB / 0.7624 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.385e-05/0.003343, allocations: 52.03 kB / 0.7624 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.445e-05/0.003408, allocations: 4 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.003513, allocations: 45.17 kB / 0.7625 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.003557, allocations: 13.64 kB / 0.7625 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.00357, allocations: 7.938 kB / 0.7625 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.003676, allocations: 59.86 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.003721, allocations: 19.92 kB / 0.7626 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.003742, allocations: 15.94 kB / 0.7626 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.003872, allocations: 96.66 kB / 0.7627 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.322e-06/0.003873, allocations: 0 / 0.7627 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003874, allocations: 0 / 0.7627 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.003877, allocations: 0.75 kB / 0.7627 GB, free: 3.992 MB / 0.7136 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.0003249/0.004201, allocations: 305.1 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.004231, allocations: 8.031 kB / 0.763 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/0.004566, allocations: 181 kB / 0.7631 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.004706, allocations: 146.2 kB / 0.7633 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.664e-05/0.004763, allocations: 61.2 kB / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.004781, allocations: 12.36 kB / 0.7633 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.004954, allocations: 144.3 kB / 0.7635 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.004961, allocations: 0 / 0.7635 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.004971, allocations: 3.984 kB / 0.7635 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.004977, allocations: 4 kB / 0.7635 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.005053, allocations: 78.98 kB / 0.7636 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.005431, allocations: 356 kB / 0.7639 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.00557, allocations: 129.1 kB / 0.764 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.005611, allocations: 40.89 kB / 0.7641 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.005619, allocations: 0 / 0.7641 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.005639, allocations: 34.56 kB / 0.7641 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.005639, allocations: 0 / 0.7641 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001831/0.005823, allocations: 129.5 kB / 0.7642 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.005848, allocations: 52.72 kB / 0.7643 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/0.005924, allocations: 151.2 kB / 0.7644 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.005936, allocations: 29.7 kB / 0.7644 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.005969, allocations: 88.62 kB / 0.7645 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.005985, allocations: 7.938 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.006027, allocations: 38.52 kB / 0.7646 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.006095, allocations: 322.8 kB / 0.7649 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.006147, allocations: 52.59 kB / 0.7649 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.621e-05/0.006193, allocations: 47.05 kB / 0.765 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.569e-05/0.006279, allocations: 92.7 kB / 0.7651 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.00628, allocations: 0 / 0.7651 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001193/0.006399, allocations: 132.6 kB / 0.7652 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.00641, allocations: 4 kB / 0.7652 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.006414, allocations: 0 / 0.7652 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.006426, allocations: 0 / 0.7652 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.006521, allocations: 47.92 kB / 0.7652 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.006524, allocations: 3.938 kB / 0.7652 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/0.006574, allocations: 40.83 kB / 0.7653 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.006626, allocations: 65.34 kB / 0.7653 GB, free: 1.098 MB / 0.7136 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.442e-05/0.00669, allocations: 117.4 kB / 0.7655 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.00671, allocations: 11.92 kB / 0.7655 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.006729, allocations: 10.41 kB / 0.7655 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006731, allocations: 0 / 0.7655 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.006732, allocations: 0 / 0.7655 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006734, allocations: 4 kB / 0.7655 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.006869, allocations: 133.8 kB / 0.7656 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.00687, allocations: 0 / 0.7656 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.006933, allocations: 54.73 kB / 0.7657 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.006935, allocations: 0 / 0.7657 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.006945, allocations: 11.97 kB / 0.7657 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.006946, allocations: 4 kB / 0.7657 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006947, allocations: 0 / 0.7657 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.007105, allocations: 224.9 kB / 0.7659 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.007116, allocations: 7.953 kB / 0.7659 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.007127, allocations: 0 / 0.7659 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.007191, allocations: 33.23 kB / 0.7659 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.007211, allocations: 7.922 kB / 0.7659 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.007254, allocations: 65.34 kB / 0.766 GB, free: 400 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.504e-05/0.007279, allocations: 30.7 kB / 0.766 GB, free: 368 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007279, allocations: 3.188 kB / 0.766 GB, free: 368 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001436/0.007423, allocations: 27.89 kB / 0.7661 GB, free: 340 kB / 0.7136 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 9.905e-05/0.007522, allocations: 84.41 kB / 0.7661 GB, free: 248 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.007655, allocations: 116.7 kB / 0.7662 GB, free: 128 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.007658, allocations: 7.562 kB / 0.7663 GB, free: 124 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.756e-05/0.007716, allocations: 76.7 kB / 0.7663 GB, free: 44 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.00783, allocations: 23.91 kB / 0.7664 GB, free: 20 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.008261, allocations: 227 kB / 0.7666 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.361e-05/0.008294, allocations: 60.31 kB / 0.7666 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001504/0.008445, allocations: 184.8 kB / 0.7668 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.008521, allocations: 76.52 kB / 0.7669 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of SimCode: time 7.51e-07/0.008522, allocations: 0 / 0.7669 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of Templates: time 0.002835/0.01136, allocations: 1.541 MB / 0.7684 GB, free: 13.97 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.814510700292885]