Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001212/0.001212, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.001509/0.001509, allocations: 173 kB / 24.06 MB, free: 452 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 1.141/1.141, allocations: 177.1 MB / 204.5 MB, free: 4.988 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.204/2.204, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0.7656 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.961e-05, allocations: 4.703 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002209/0.002229, allocations: 1.651 MB / 0.881 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008745/0.003103, allocations: 0.6223 MB / 0.8816 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.003162, allocations: 0 / 0.8816 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.771e-05/0.003209, allocations: 5.062 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.002e-05/0.003299, allocations: 12.75 kB / 0.8816 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.003632, allocations: 68.75 kB / 0.8817 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.003727, allocations: 55.78 kB / 0.8818 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.91e-05/0.003807, allocations: 9.125 kB / 0.8818 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.003916, allocations: 35.89 kB / 0.8818 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.396e-05/0.00396, allocations: 19.97 kB / 0.8818 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.003978, allocations: 4.969 kB / 0.8818 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.004082, allocations: 51.89 kB / 0.8819 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.004133, allocations: 24.41 kB / 0.8819 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.004158, allocations: 21.8 kB / 0.8819 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.004315, allocations: 91.64 kB / 0.882 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004317, allocations: 0 / 0.882 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.61e-07/0.004318, allocations: 0 / 0.882 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.004323, allocations: 0 / 0.882 GB, free: 3.367 MB / 0.8386 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.0004103/0.004733, allocations: 433.4 kB / 0.8824 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.004765, allocations: 8.031 kB / 0.8824 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.00522, allocations: 250.2 kB / 0.8827 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.005382, allocations: 152.9 kB / 0.8828 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.037e-05/0.005442, allocations: 67.94 kB / 0.8829 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.005453, allocations: 4.375 kB / 0.8829 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.005643, allocations: 148.6 kB / 0.883 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.005649, allocations: 0 / 0.883 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.00566, allocations: 0 / 0.883 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.005665, allocations: 0.7188 kB / 0.883 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.59e-05/0.00575, allocations: 87.91 kB / 0.8831 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.006206, allocations: 469.3 kB / 0.8836 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.006362, allocations: 132.2 kB / 0.8837 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/0.006408, allocations: 51.72 kB / 0.8837 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.006418, allocations: 0 / 0.8837 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.006437, allocations: 37.39 kB / 0.8838 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.006438, allocations: 0 / 0.8838 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002523/0.00669, allocations: 165.5 kB / 0.8839 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.006719, allocations: 51.41 kB / 0.884 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.00682, allocations: 207.5 kB / 0.8842 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.006834, allocations: 25.7 kB / 0.8842 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.006888, allocations: 146.8 kB / 0.8843 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.006906, allocations: 12.06 kB / 0.8844 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.006954, allocations: 47.33 kB / 0.8844 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.007069, allocations: 0.4922 MB / 0.8849 GB, free: 248 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.609e-05/0.007125, allocations: 51.94 kB / 0.8849 GB, free: 196 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.007174, allocations: 55.88 kB / 0.885 GB, free: 140 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.507e-05/0.007269, allocations: 91.59 kB / 0.8851 GB, free: 44 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.00727, allocations: 4.062 kB / 0.8851 GB, free: 40 kB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001671/0.007438, allocations: 161.6 kB / 0.8852 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.007449, allocations: 7.828 kB / 0.8852 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.007453, allocations: 0 / 0.8852 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.007461, allocations: 0 / 0.8852 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.007564, allocations: 59.84 kB / 0.8853 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.007567, allocations: 0 / 0.8853 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.007616, allocations: 28 kB / 0.8853 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.007674, allocations: 75.83 kB / 0.8854 GB, free: 15.71 MB / 0.8542 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 7.903e-05/0.007753, allocations: 164.5 kB / 0.8855 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.007779, allocations: 7.953 kB / 0.8856 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.007799, allocations: 7.969 kB / 0.8856 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.007801, allocations: 0 / 0.8856 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.007803, allocations: 8 kB / 0.8856 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.007807, allocations: 0 / 0.8856 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.007965, allocations: 173.1 kB / 0.8857 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007966, allocations: 0 / 0.8857 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/0.008034, allocations: 51.92 kB / 0.8858 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.008036, allocations: 0 / 0.8858 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.008048, allocations: 15.97 kB / 0.8858 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.008049, allocations: 0 / 0.8858 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.00805, allocations: 0 / 0.8858 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.008256, allocations: 307.6 kB / 0.8861 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.008268, allocations: 11.89 kB / 0.8861 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.00828, allocations: 4 kB / 0.8861 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.008347, allocations: 31.89 kB / 0.8861 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.00837, allocations: 4 kB / 0.8861 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.008416, allocations: 67.94 kB / 0.8862 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.00847, allocations: 157.1 kB / 0.8864 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00847, allocations: 0 / 0.8864 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001687/0.008639, allocations: 12 kB / 0.8864 GB, free: 14.65 MB / 0.8542 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.0001025/0.008742, allocations: 95.25 kB / 0.8865 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.008897, allocations: 139.5 kB / 0.8866 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.008898, allocations: 0 / 0.8866 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.008963, allocations: 83.61 kB / 0.8867 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.009125, allocations: 23.84 kB / 0.8867 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.009566, allocations: 229.8 kB / 0.8869 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.14e-05/0.009607, allocations: 67.28 kB / 0.887 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.009767, allocations: 183.7 kB / 0.8872 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.009845, allocations: 90.16 kB / 0.8872 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.009846, allocations: 0 / 0.8872 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.00299/0.01284, allocations: 1.537 MB / 0.8887 GB, free: 12.16 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.79553886083886]