Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.000909/0.000909, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009431/0.0009431, allocations: 185.3 kB / 24.09 MB, free: 416 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 0.9412/0.9412, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.785/1.785, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.062e-05, allocations: 8.922 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003474/0.003505, allocations: 2.095 MB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002559/0.006064, allocations: 1.45 MB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.976e-05/0.006143, allocations: 5.344 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.636e-05/0.00621, allocations: 19.78 kB / 0.8155 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.006324, allocations: 57.42 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.007306, allocations: 344.3 kB / 0.8159 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.007548, allocations: 242.9 kB / 0.8161 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.00768, allocations: 33.78 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.007855, allocations: 135.7 kB / 0.8163 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.007999, allocations: 71.84 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.008033, allocations: 20.91 kB / 0.8164 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006763/0.008709, allocations: 352.5 kB / 0.8167 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.008753, allocations: 43.88 kB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.809e-05/0.008821, allocations: 68.42 kB / 0.8168 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005575/0.009379, allocations: 411.9 kB / 0.8172 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.009383, allocations: 0 / 0.8172 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.82e-07/0.009384, allocations: 0 / 0.8172 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.009389, allocations: 0 / 0.8172 GB, free: 12.13 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007341/0.01012, allocations: 0.5519 MB / 0.8177 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.01016, allocations: 9.312 kB / 0.8177 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006745/0.01084, allocations: 125.6 kB / 0.8179 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.01095, allocations: 135.2 kB / 0.818 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.532e-05/0.01103, allocations: 83.95 kB / 0.8181 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.01107, allocations: 16.38 kB / 0.8181 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.01145, allocations: 222.5 kB / 0.8183 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.01146, allocations: 1.281 kB / 0.8183 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.01148, allocations: 8.375 kB / 0.8183 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.01149, allocations: 8.125 kB / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.01165, allocations: 74.59 kB / 0.8184 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.01282, allocations: 0.6439 MB / 0.819 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.01317, allocations: 132.4 kB / 0.8191 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.59e-05/0.01327, allocations: 56.53 kB / 0.8192 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003121/0.01358, allocations: 73.28 kB / 0.8193 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.01361, allocations: 34.33 kB / 0.8193 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=17): time 2.475e-06/0.01361, allocations: 0 / 0.8193 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17): time 0.006421/0.02003, allocations: 0.9529 MB / 0.8202 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.02007, allocations: 55.41 kB / 0.8203 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.02021, allocations: 181.9 kB / 0.8205 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.02025, allocations: 29.7 kB / 0.8205 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.02034, allocations: 167 kB / 0.8206 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.02039, allocations: 67.44 kB / 0.8207 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.02048, allocations: 43.34 kB / 0.8207 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004131/0.0209, allocations: 0.4961 MB / 0.8212 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.021, allocations: 43.97 kB / 0.8213 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.013e-05/0.02109, allocations: 51.91 kB / 0.8213 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.02127, allocations: 97.47 kB / 0.8214 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.02127, allocations: 4 kB / 0.8214 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.003766/0.02504, allocations: 0.5927 MB / 0.822 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.02507, allocations: 6.344 kB / 0.822 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.02508, allocations: 7.938 kB / 0.822 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.02608, allocations: 247.4 kB / 0.8222 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.02637, allocations: 51.97 kB / 0.8223 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008511/0.02722, allocations: 0.9325 MB / 0.8232 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.02742, allocations: 19.94 kB / 0.8232 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.02744, allocations: 15.98 kB / 0.8232 GB, free: 5.699 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: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.02757, allocations: 168.5 kB / 0.8234 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.02762, allocations: 11.95 kB / 0.8234 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007818/0.02841, allocations: 287.8 kB / 0.8237 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.02841, allocations: 4 kB / 0.8237 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.02841, allocations: 0 / 0.8237 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.02842, allocations: 11.91 kB / 0.8237 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.02964, allocations: 0.6289 MB / 0.8243 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.02964, allocations: 3.938 kB / 0.8243 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.02987, allocations: 43.98 kB / 0.8244 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006675/0.03054, allocations: 247.4 kB / 0.8246 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.03055, allocations: 11.98 kB / 0.8246 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005278/0.03108, allocations: 0.9247 MB / 0.8255 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.03109, allocations: 7.984 kB / 0.8255 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.03141, allocations: 368.1 kB / 0.8259 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.03142, allocations: 15.84 kB / 0.8259 GB, free: 2.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.03144, allocations: 4 kB / 0.8259 GB, free: 2.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.03156, allocations: 19.98 kB / 0.8259 GB, free: 2.828 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.03158, allocations: 15.91 kB / 0.8259 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.03159, allocations: 4 kB / 0.8259 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.03164, allocations: 146 kB / 0.8261 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.03164, allocations: 0 / 0.8261 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003359/0.03197, allocations: 135.6 kB / 0.8262 GB, free: 2.535 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000301/0.03227, allocations: 246.6 kB / 0.8264 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006212/0.0329, allocations: 227.3 kB / 0.8266 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.0329, allocations: 4 kB / 0.8267 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.03337, allocations: 157 kB / 0.8268 GB, free: 1.898 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.03359, allocations: 49.95 kB / 0.8268 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.03707, allocations: 0.9942 MB / 0.8278 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.928e-05/0.03711, allocations: 71.83 kB / 0.8279 GB, free: 0.7344 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.673e-05/0.03716, allocations: 17.55 kB / 0.8279 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.511e-05/0.03725, allocations: 106.2 kB / 0.828 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of SimCode: time 8.81e-07/0.03725, allocations: 0 / 0.828 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of Templates: time 0.007036/0.04429, allocations: 6.127 MB / 0.834 GB, free: 10.55 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.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.09253764199093]