Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008804/0.0008804, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008393/0.0008393, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.861/0.861, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.614/1.614, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 4 kB / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.916e-05, allocations: 6.219 kB / 0.9518 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.001786/0.001805, allocations: 1.601 MB / 0.9533 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007932/0.002598, allocations: 0.6116 MB / 0.9539 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.002656, allocations: 0 / 0.9539 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.196e-05/0.002697, allocations: 3.938 kB / 0.9539 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.902e-05/0.002777, allocations: 7.875 kB / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.003098, allocations: 71.73 kB / 0.954 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.003202, allocations: 55.77 kB / 0.954 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.003293, allocations: 11.98 kB / 0.9541 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.003406, allocations: 35.91 kB / 0.9541 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.003456, allocations: 19.97 kB / 0.9541 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.003472, allocations: 4 kB / 0.9541 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.003588, allocations: 51.83 kB / 0.9542 GB, free: 496 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.003646, allocations: 27.91 kB / 0.9542 GB, free: 468 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.003671, allocations: 15.98 kB / 0.9542 GB, free: 452 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.003836, allocations: 111.6 kB / 0.9543 GB, free: 340 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003838, allocations: 0 / 0.9543 GB, free: 340 kB / 0.9011 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003839, allocations: 0 / 0.9543 GB, free: 340 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.003843, allocations: 0 / 0.9543 GB, free: 340 kB / 0.9011 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.0004608/0.004304, allocations: 341.5 kB / 0.9546 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.004337, allocations: 8.031 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005306/0.004868, allocations: 332.2 kB / 0.955 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.00505, allocations: 164 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/0.005115, allocations: 71.94 kB / 0.9552 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.005128, allocations: 384 / 0.9552 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.005385, allocations: 206 kB / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.005395, allocations: 3.938 kB / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.005406, allocations: 0 / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.00541, allocations: 0 / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.005725, allocations: 291.6 kB / 0.9557 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.006254, allocations: 0.5033 MB / 0.9562 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.006568, allocations: 294.2 kB / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.006859, allocations: 140.8 kB / 0.9566 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.006874, allocations: 0 / 0.9566 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.006893, allocations: 34.56 kB / 0.9566 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.006894, allocations: 0 / 0.9566 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0005631/0.007457, allocations: 461.1 kB / 0.957 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.007488, allocations: 51.41 kB / 0.9571 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.007588, allocations: 161.2 kB / 0.9572 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.0076, allocations: 25.7 kB / 0.9573 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.007647, allocations: 100.1 kB / 0.9574 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.007665, allocations: 7.953 kB / 0.9574 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.007705, allocations: 33.69 kB / 0.9574 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.007781, allocations: 330.8 kB / 0.9577 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.007929, allocations: 143.8 kB / 0.9579 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.008071, allocations: 139.8 kB / 0.958 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.008339, allocations: 252.6 kB / 0.9582 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.008341, allocations: 4 kB / 0.9582 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003401/0.008681, allocations: 325.2 kB / 0.9585 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.008695, allocations: 4 kB / 0.9586 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.008699, allocations: 0 / 0.9586 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.008709, allocations: 0 / 0.9586 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.008826, allocations: 79.83 kB / 0.9586 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.00883, allocations: 0 / 0.9586 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.532e-05/0.008906, allocations: 59.91 kB / 0.9587 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.008955, allocations: 71.83 kB / 0.9588 GB, free: 11.59 MB / 0.9167 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.501e-05/0.00902, allocations: 121.8 kB / 0.9589 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.009037, allocations: 3.953 kB / 0.9589 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.009057, allocations: 15.95 kB / 0.9589 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.009059, allocations: 0 / 0.9589 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.009063, allocations: 8 kB / 0.9589 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.009066, allocations: 3.938 kB / 0.9589 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.00921, allocations: 193 kB / 0.9591 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.009211, allocations: 4 kB / 0.9591 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.869e-05/0.0093, allocations: 79.81 kB / 0.9592 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.009302, allocations: 4 kB / 0.9592 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.009313, allocations: 7.984 kB / 0.9592 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.009314, allocations: 0 / 0.9592 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.009315, allocations: 4 kB / 0.9592 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.00968, allocations: 423 kB / 0.9596 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.009695, allocations: 15.94 kB / 0.9596 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.009709, allocations: 0 / 0.9596 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.009798, allocations: 55.86 kB / 0.9597 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.009823, allocations: 0 / 0.9597 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.009866, allocations: 67.94 kB / 0.9597 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.009923, allocations: 123.2 kB / 0.9598 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009923, allocations: 0 / 0.9598 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001706/0.01009, allocations: 23.88 kB / 0.9599 GB, free: 10.4 MB / 0.9167 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.0001141/0.01021, allocations: 107.1 kB / 0.96 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003556/0.01056, allocations: 291.6 kB / 0.9602 GB, free: 10 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01057, allocations: 0 / 0.9602 GB, free: 10 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.01072, allocations: 155.8 kB / 0.9604 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.01088, allocations: 10.66 kB / 0.9604 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.0113, allocations: 322.3 kB / 0.9607 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/0.01137, allocations: 83.67 kB / 0.9608 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.199e-05/0.01144, allocations: 44.44 kB / 0.9608 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.01144, allocations: 0 / 0.9608 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of Templates: time 0.002298/0.01374, allocations: 1.784 MB / 0.9626 GB, free: 7.562 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.170816493220627]