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.0009712/0.0009712, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001092/0.001092, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9815/0.9815, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.863/1.863, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.013e-06/2.013e-06, allocations: 0.7656 kB / 0.8128 GB, free: 328 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.44e-05, allocations: 6.312 kB / 0.8128 GB, free: 320 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002927/0.002951, allocations: 1.641 MB / 0.8144 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004157, allocations: 0.6362 MB / 0.815 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.004236, allocations: 0 / 0.815 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 6.459e-05/0.004301, allocations: 9.453 kB / 0.815 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.004417, allocations: 11.88 kB / 0.815 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.004872, allocations: 65.48 kB / 0.8151 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.005012, allocations: 51.78 kB / 0.8151 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.005136, allocations: 11.98 kB / 0.8152 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.005295, allocations: 35.84 kB / 0.8152 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.737e-05/0.005362, allocations: 20.88 kB / 0.8152 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.005382, allocations: 7.938 kB / 0.8152 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.005544, allocations: 60.41 kB / 0.8153 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.00561, allocations: 19.92 kB / 0.8153 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.005641, allocations: 16.47 kB / 0.8153 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.005839, allocations: 96.17 kB / 0.8154 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005841, allocations: 3.938 kB / 0.8154 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005842, allocations: 1.156 kB / 0.8154 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.005847, allocations: 0 / 0.8154 GB, free: 13.64 MB / 0.7292 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.0004499/0.006296, allocations: 428.3 kB / 0.8158 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.006326, allocations: 8.562 kB / 0.8158 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.006777, allocations: 241.8 kB / 0.8161 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.00692, allocations: 151.4 kB / 0.8162 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.006977, allocations: 68.78 kB / 0.8163 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.006988, allocations: 4.375 kB / 0.8163 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.007191, allocations: 148.6 kB / 0.8164 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.007199, allocations: 0 / 0.8164 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.007211, allocations: 7.984 kB / 0.8164 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.007217, allocations: 0 / 0.8164 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.746e-05/0.007304, allocations: 84.77 kB / 0.8165 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.007772, allocations: 485.9 kB / 0.817 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.007931, allocations: 128.3 kB / 0.8171 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.007977, allocations: 43.72 kB / 0.8171 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.007993, allocations: 0 / 0.8171 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.008017, allocations: 41.38 kB / 0.8172 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.008018, allocations: 2.969 kB / 0.8172 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002462/0.008264, allocations: 165.5 kB / 0.8173 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.008292, allocations: 55.41 kB / 0.8174 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.00839, allocations: 203.7 kB / 0.8176 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.008404, allocations: 29.7 kB / 0.8176 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.008467, allocations: 150.8 kB / 0.8177 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.008481, allocations: 0.5 kB / 0.8177 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.008527, allocations: 43.33 kB / 0.8178 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.008646, allocations: 0.5058 MB / 0.8183 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.387e-05/0.0087, allocations: 47.95 kB / 0.8183 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.086e-05/0.008751, allocations: 51.94 kB / 0.8184 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.572e-05/0.008846, allocations: 99.34 kB / 0.8185 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.008848, allocations: 0 / 0.8185 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001664/0.009015, allocations: 157.4 kB / 0.8186 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.009029, allocations: 6.344 kB / 0.8186 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.009034, allocations: 4 kB / 0.8186 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.009043, allocations: 2.781 kB / 0.8186 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.009147, allocations: 55.91 kB / 0.8187 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.00915, allocations: 0 / 0.8187 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/0.009202, allocations: 35.89 kB / 0.8187 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.009255, allocations: 65.97 kB / 0.8188 GB, free: 10 MB / 0.7292 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.711e-05/0.009322, allocations: 156.5 kB / 0.8189 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.009349, allocations: 11.95 kB / 0.8189 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.009368, allocations: 17.02 kB / 0.819 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.00937, allocations: 3.984 kB / 0.819 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.009372, allocations: 0 / 0.819 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.009374, allocations: 1.031 kB / 0.819 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.009519, allocations: 173.1 kB / 0.8191 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.00952, allocations: 0 / 0.8191 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.009591, allocations: 61.06 kB / 0.8192 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.009593, allocations: 1.656 kB / 0.8192 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.009605, allocations: 11.98 kB / 0.8192 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.009605, allocations: 0 / 0.8192 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.009606, allocations: 0 / 0.8192 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.009799, allocations: 309.4 kB / 0.8195 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.009809, allocations: 7.953 kB / 0.8195 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.009821, allocations: 0 / 0.8195 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.009894, allocations: 32.86 kB / 0.8195 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.009914, allocations: 5.281 kB / 0.8195 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.009958, allocations: 64.94 kB / 0.8196 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.01001, allocations: 151.1 kB / 0.8197 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01001, allocations: 0 / 0.8197 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001658/0.01017, allocations: 21.31 kB / 0.8198 GB, free: 8.945 MB / 0.7292 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.133e-05/0.01026, allocations: 107.2 kB / 0.8199 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.01042, allocations: 130.4 kB / 0.82 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01042, allocations: 0 / 0.82 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/0.01049, allocations: 71.55 kB / 0.8201 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.01065, allocations: 23.91 kB / 0.8201 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.01104, allocations: 239 kB / 0.8203 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.54e-05/0.01107, allocations: 66.84 kB / 0.8204 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.01122, allocations: 187.6 kB / 0.8206 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/0.0113, allocations: 90.16 kB / 0.8206 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.0113, allocations: 0 / 0.8206 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of Templates: time 0.002774/0.01408, allocations: 1.552 MB / 0.8222 GB, free: 6.457 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.949351076036692]