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.001385/0.001385, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001586/0.001586, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.503/1.503, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.844/2.844, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.563e-06/1.563e-06, allocations: 0 / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.843e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003261/0.00329, allocations: 1.605 MB / 0.8124 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.004599, allocations: 0.6022 MB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.004655, allocations: 6.406 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.159e-05/0.004717, allocations: 7.922 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.004802, allocations: 7.875 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.005177, allocations: 67.73 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.005309, allocations: 59.77 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.783e-05/0.005387, allocations: 4.938 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.005531, allocations: 39.91 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/0.005595, allocations: 16.88 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.005612, allocations: 0 / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.005791, allocations: 68.78 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.168e-05/0.005853, allocations: 19.97 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.005897, allocations: 19.92 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.006125, allocations: 109 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.006128, allocations: 3.938 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.92e-07/0.006128, allocations: 0 / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.006133, allocations: 0 / 0.8134 GB, free: 15.45 MB / 0.7761 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.0006399/0.006773, allocations: 327.7 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.006807, allocations: 8.031 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.008024, allocations: 334.6 kB / 0.814 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.008295, allocations: 165.2 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.142e-05/0.008386, allocations: 63.95 kB / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.008407, allocations: 8.375 kB / 0.8143 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.008926, allocations: 211.7 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.008933, allocations: 0.8438 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.008948, allocations: 4 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.008953, allocations: 1.281 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.009681, allocations: 282.9 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.01067, allocations: 0.5039 MB / 0.8152 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/0.01139, allocations: 287.9 kB / 0.8155 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.01176, allocations: 139 kB / 0.8156 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.01178, allocations: 4 kB / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.01182, allocations: 35.53 kB / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.01182, allocations: 4 kB / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.00123/0.01305, allocations: 455.6 kB / 0.8161 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002695/0.01332, allocations: 55.41 kB / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.01351, allocations: 156.7 kB / 0.8163 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.01353, allocations: 26.64 kB / 0.8163 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.01362, allocations: 104.1 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.01364, allocations: 3.953 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.01372, allocations: 42.8 kB / 0.8165 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.01391, allocations: 330.8 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.01428, allocations: 134 kB / 0.8169 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.01465, allocations: 146.3 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.01532, allocations: 248.1 kB / 0.8173 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.01532, allocations: 0 / 0.8173 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0008115/0.01613, allocations: 327.5 kB / 0.8176 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01614, allocations: 4 kB / 0.8176 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.01615, allocations: 3.984 kB / 0.8176 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.01617, allocations: 0 / 0.8176 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.01645, allocations: 87.84 kB / 0.8177 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.01645, allocations: 0 / 0.8177 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.01665, allocations: 55.86 kB / 0.8178 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/0.01675, allocations: 71.84 kB / 0.8178 GB, free: 10.77 MB / 0.7761 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.0001158/0.01687, allocations: 117.8 kB / 0.8179 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.01691, allocations: 11.95 kB / 0.818 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.01693, allocations: 11.97 kB / 0.818 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01693, allocations: 0 / 0.818 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.01694, allocations: 4 kB / 0.818 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.01694, allocations: 0 / 0.818 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.01722, allocations: 193.1 kB / 0.8182 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.01722, allocations: 7.984 kB / 0.8182 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.01747, allocations: 71.89 kB / 0.8182 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.01748, allocations: 8 kB / 0.8182 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.0175, allocations: 11.97 kB / 0.8183 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.0175, allocations: 0 / 0.8183 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.0175, allocations: 0 / 0.8183 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008904/0.01839, allocations: 419 kB / 0.8187 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.01842, allocations: 7.953 kB / 0.8187 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.01844, allocations: 4 kB / 0.8187 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.01867, allocations: 55.86 kB / 0.8187 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.01871, allocations: 8.016 kB / 0.8187 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-05/0.0188, allocations: 67.84 kB / 0.8188 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001199/0.01892, allocations: 125.6 kB / 0.8189 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01892, allocations: 0 / 0.8189 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002718/0.01919, allocations: 19.94 kB / 0.8189 GB, free: 9.594 MB / 0.7761 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.000183/0.01938, allocations: 103.2 kB / 0.819 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007821/0.02016, allocations: 287.6 kB / 0.8193 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02016, allocations: 3.938 kB / 0.8193 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.02056, allocations: 155.8 kB / 0.8195 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.02082, allocations: 17.88 kB / 0.8195 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008929/0.02171, allocations: 312 kB / 0.8198 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.02184, allocations: 79.31 kB / 0.8198 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003577/0.02219, allocations: 187.6 kB / 0.82 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.0223, allocations: 36.45 kB / 0.8201 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of SimCode: time 8.41e-07/0.0223, allocations: 4 kB / 0.8201 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of Templates: time 0.004696/0.027, allocations: 1.312 MB / 0.8213 GB, free: 7.074 MB / 0.7761 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=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/jenkins/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: 7.674791701021604]