Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001018/0.001018, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009619/0.0009619, allocations: 161 kB / 23.82 MB, free: 0.7539 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.991/0.991, allocations: 177.1 MB / 204.2 MB, free: 5.449 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.769/1.769, allocations: 359 MB / 0.6052 GB, free: 11.03 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.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_11_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_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0.6562 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.676e-05, allocations: 10.25 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002316/0.002333, allocations: 2.109 MB / 0.7892 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.004006, allocations: 1.474 MB / 0.7906 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.004065, allocations: 4 kB / 0.7906 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.634e-05/0.004122, allocations: 19.78 kB / 0.7906 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.856e-05/0.00421, allocations: 49.31 kB / 0.7907 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008449/0.005055, allocations: 347.8 kB / 0.791 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.005252, allocations: 239 kB / 0.7912 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.005366, allocations: 39.7 kB / 0.7913 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.005482, allocations: 131.8 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.005587, allocations: 63.84 kB / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.005615, allocations: 20 kB / 0.7915 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000546/0.006161, allocations: 365.9 kB / 0.7918 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.006203, allocations: 43.89 kB / 0.7919 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.54e-05/0.006269, allocations: 75.8 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.006732, allocations: 398.8 kB / 0.7923 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.006734, allocations: 0 / 0.7923 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.006735, allocations: 0 / 0.7923 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.006739, allocations: 0.5312 kB / 0.7923 GB, free: 7.176 MB / 0.7448 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.0006168/0.007356, allocations: 0.5476 MB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.007396, allocations: 9.688 kB / 0.7929 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005631/0.007959, allocations: 125.5 kB / 0.793 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.008059, allocations: 129.2 kB / 0.7931 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-05/0.008136, allocations: 75.95 kB / 0.7932 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.008166, allocations: 20.38 kB / 0.7932 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.00848, allocations: 244.3 kB / 0.7934 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.008488, allocations: 1.406 kB / 0.7934 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.008506, allocations: 4.375 kB / 0.7934 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.008517, allocations: 8.125 kB / 0.7934 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.008655, allocations: 97 kB / 0.7935 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000902/0.009557, allocations: 0.6602 MB / 0.7942 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.009876, allocations: 139.1 kB / 0.7943 GB, free: 5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.272e-05/0.009969, allocations: 74.66 kB / 0.7944 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.01017, allocations: 63.84 kB / 0.7944 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.01019, allocations: 37.39 kB / 0.7945 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 1.933e-06/0.01019, allocations: 4.438 kB / 0.7945 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.004158/0.01435, allocations: 0.9933 MB / 0.7954 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.01438, allocations: 51.41 kB / 0.7955 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.01447, allocations: 193.1 kB / 0.7957 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.0145, allocations: 25.7 kB / 0.7957 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.01456, allocations: 171.1 kB / 0.7959 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.0146, allocations: 55.48 kB / 0.7959 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.01466, allocations: 47.36 kB / 0.796 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.01477, allocations: 0.4923 MB / 0.7964 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-05/0.01486, allocations: 59.97 kB / 0.7965 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.01495, allocations: 65.59 kB / 0.7966 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.01511, allocations: 117.3 kB / 0.7967 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01511, allocations: 0 / 0.7967 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002464/0.01757, allocations: 0.6154 MB / 0.7973 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01759, allocations: 11.94 kB / 0.7973 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01759, allocations: 0 / 0.7973 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/0.01819, allocations: 267.3 kB / 0.7975 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.01836, allocations: 47.98 kB / 0.7976 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006262/0.01899, allocations: 0.9404 MB / 0.7985 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.01909, allocations: 31.81 kB / 0.7985 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.01911, allocations: 4 kB / 0.7985 GB, free: 0.5469 MB / 0.7448 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 9.048e-05/0.0192, allocations: 168.5 kB / 0.7987 GB, free: 380 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.01923, allocations: 11.95 kB / 0.7987 GB, free: 368 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.01978, allocations: 311.7 kB / 0.799 GB, free: 52 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.01978, allocations: 0 / 0.799 GB, free: 52 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.01978, allocations: 7.938 kB / 0.799 GB, free: 44 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01979, allocations: 0 / 0.799 GB, free: 44 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008381/0.02063, allocations: 0.6889 MB / 0.7997 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.02063, allocations: 0 / 0.7997 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.02078, allocations: 47.97 kB / 0.7997 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/0.0213, allocations: 251.5 kB / 0.8 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.02132, allocations: 8 kB / 0.8 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005731/0.02189, allocations: 0.9404 MB / 0.8009 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02189, allocations: 0 / 0.8009 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.02226, allocations: 396.9 kB / 0.8013 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.02227, allocations: 7.953 kB / 0.8013 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.0223, allocations: 8 kB / 0.8013 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.02241, allocations: 19.92 kB / 0.8013 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.02244, allocations: 7.984 kB / 0.8013 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.02245, allocations: 11.98 kB / 0.8013 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.884e-05/0.0225, allocations: 141.5 kB / 0.8015 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0225, allocations: 0 / 0.8015 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003175/0.02282, allocations: 139.5 kB / 0.8016 GB, free: 13.27 MB / 0.7605 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.0003216/0.02314, allocations: 246.7 kB / 0.8018 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007758/0.02392, allocations: 255.2 kB / 0.8021 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.02392, allocations: 0 / 0.8021 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005606/0.02448, allocations: 178.4 kB / 0.8023 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.02473, allocations: 57.84 kB / 0.8023 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.02871, allocations: 0.9952 MB / 0.8033 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.097e-05/0.02875, allocations: 75.78 kB / 0.8034 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.448e-05/0.02879, allocations: 13.48 kB / 0.8034 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.02882, allocations: 12.5 kB / 0.8034 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of SimCode: time 7.81e-07/0.02882, allocations: 0 / 0.8034 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of Templates: time 0.00686/0.03568, allocations: 5.575 MB / 0.8088 GB, free: 5.879 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.363653711974621]