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.001848/0.001848, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002034/0.002034, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 178] 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 3.549/3.549, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] 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.583e-06/1.583e-06, allocations: 0 / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.446e-05/3.604e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003219/0.003255, allocations: 1.62 MB / 0.8791 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.004512, allocations: 0.618 MB / 0.8797 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.004559, allocations: 0 / 0.8797 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.409e-05/0.004613, allocations: 3.938 kB / 0.8797 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.601e-05/0.004699, allocations: 19.86 kB / 0.8797 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.00503, allocations: 57.34 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.005151, allocations: 59.77 kB / 0.8798 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.005243, allocations: 7.984 kB / 0.8798 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.005387, allocations: 39.91 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.005442, allocations: 17.56 kB / 0.8799 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.005461, allocations: 0 / 0.8799 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.005603, allocations: 55.88 kB / 0.8799 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.005671, allocations: 23.92 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.005707, allocations: 18.91 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.005926, allocations: 107.6 kB / 0.8801 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.00593, allocations: 0 / 0.8801 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.01e-07/0.00593, allocations: 0 / 0.8801 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.005935, allocations: 0 / 0.8801 GB, free: 4.023 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.0009848/0.00692, allocations: 435.7 kB / 0.8805 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.006959, allocations: 12.02 kB / 0.8805 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009334/0.007893, allocations: 244.1 kB / 0.8807 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.008189, allocations: 162.6 kB / 0.8809 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-05/0.008283, allocations: 63.95 kB / 0.8809 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.0083, allocations: 4.375 kB / 0.8809 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.008669, allocations: 165.8 kB / 0.8811 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.008678, allocations: 0 / 0.8811 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.008692, allocations: 4 kB / 0.8811 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.008696, allocations: 0 / 0.8811 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.009165, allocations: 195.8 kB / 0.8813 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009166/0.01008, allocations: 0.5069 MB / 0.8818 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.01055, allocations: 202.8 kB / 0.882 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.01079, allocations: 103.7 kB / 0.8821 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.0108, allocations: 0 / 0.8821 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.01084, allocations: 37.38 kB / 0.8821 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.01084, allocations: 0 / 0.8821 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0008452/0.01169, allocations: 317.3 kB / 0.8824 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.01173, allocations: 51.41 kB / 0.8825 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.01196, allocations: 220 kB / 0.8827 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.01199, allocations: 25.7 kB / 0.8827 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.01209, allocations: 146.8 kB / 0.8828 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.01212, allocations: 12.06 kB / 0.8828 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.0122, allocations: 47.28 kB / 0.8829 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002774/0.01247, allocations: 0.4961 MB / 0.8834 GB, free: 432 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.0127, allocations: 91.92 kB / 0.8835 GB, free: 340 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.01292, allocations: 87.92 kB / 0.8835 GB, free: 252 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.01331, allocations: 159.5 kB / 0.8837 GB, free: 88 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01332, allocations: 0 / 0.8837 GB, free: 88 kB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005301/0.01385, allocations: 225.5 kB / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.01387, allocations: 7.938 kB / 0.8839 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01388, allocations: 0 / 0.8839 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.01389, allocations: 4.031 kB / 0.8839 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.01409, allocations: 55.92 kB / 0.884 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.0141, allocations: 3.938 kB / 0.884 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.01422, allocations: 27.95 kB / 0.884 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.01432, allocations: 79.77 kB / 0.8841 GB, free: 15.68 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 0.0001259/0.01445, allocations: 160.6 kB / 0.8842 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.01449, allocations: 7.953 kB / 0.8842 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.01452, allocations: 15.95 kB / 0.8843 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.01452, allocations: 0 / 0.8843 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.01453, allocations: 0 / 0.8843 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.01453, allocations: 0 / 0.8843 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.01483, allocations: 212.6 kB / 0.8845 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01483, allocations: 0 / 0.8845 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.01501, allocations: 55.84 kB / 0.8845 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01501, allocations: 4 kB / 0.8845 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.01503, allocations: 11.98 kB / 0.8845 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01504, allocations: 0 / 0.8845 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01504, allocations: 0 / 0.8845 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.01566, allocations: 379.6 kB / 0.8849 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.01568, allocations: 3.953 kB / 0.8849 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.01571, allocations: 4 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.01588, allocations: 35.98 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.01592, allocations: 4 kB / 0.8849 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-05/0.01601, allocations: 63.84 kB / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000127/0.01614, allocations: 159.1 kB / 0.8851 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01614, allocations: 0 / 0.8851 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002497/0.01639, allocations: 23.89 kB / 0.8852 GB, free: 14.5 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.00017/0.01656, allocations: 103.2 kB / 0.8853 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005433/0.0171, allocations: 203.5 kB / 0.8855 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0171, allocations: 0 / 0.8855 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.01736, allocations: 115.6 kB / 0.8856 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.0176, allocations: 20.11 kB / 0.8856 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.01821, allocations: 261.7 kB / 0.8858 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.01831, allocations: 83.31 kB / 0.8859 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003014/0.01861, allocations: 187.6 kB / 0.8861 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.443e-05/0.0187, allocations: 32.45 kB / 0.8861 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.01871, allocations: 3.938 kB / 0.8861 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of Templates: time 0.0048/0.02351, allocations: 1.324 MB / 0.8874 GB, free: 12.13 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.59831952303648]