Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009963/0.0009963, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001018/0.001018, allocations: 169 kB / 23.03 MB, free: 1.539 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.8875/0.8875, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.965/1.965, allocations: 429.5 MB / 0.6733 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.737e-06/3.737e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.913e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002538/0.002557, allocations: 2.119 MB / 0.8802 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.004384, allocations: 1.461 MB / 0.8817 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.004e-05/0.004454, allocations: 0 / 0.8817 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.24e-05/0.004516, allocations: 23.78 kB / 0.8817 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.096e-05/0.004607, allocations: 51.5 kB / 0.8817 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008752/0.005482, allocations: 346.6 kB / 0.8821 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.005681, allocations: 239 kB / 0.8823 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.005808, allocations: 37.7 kB / 0.8823 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.005927, allocations: 131.8 kB / 0.8825 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.879e-05/0.006026, allocations: 67.84 kB / 0.8825 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.006056, allocations: 20 kB / 0.8826 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004656/0.006521, allocations: 355.4 kB / 0.8829 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.006557, allocations: 43.88 kB / 0.8829 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.006614, allocations: 67.89 kB / 0.883 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.00704, allocations: 398.8 kB / 0.8834 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.007042, allocations: 0 / 0.8834 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.007043, allocations: 0 / 0.8834 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.007049, allocations: 0 / 0.8834 GB, free: 0.9609 MB / 0.8386 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.0006199/0.007668, allocations: 0.5464 MB / 0.8839 GB, free: 384 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.007703, allocations: 12.03 kB / 0.8839 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.008819, allocations: 248.5 kB / 0.8842 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.00892, allocations: 132.4 kB / 0.8843 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-05/0.008999, allocations: 71.97 kB / 0.8844 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.009031, allocations: 16.38 kB / 0.8844 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.009547, allocations: 323.6 kB / 0.8847 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.009557, allocations: 192 / 0.8847 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.009582, allocations: 8.375 kB / 0.8847 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.009591, allocations: 8.125 kB / 0.8847 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.009821, allocations: 159.6 kB / 0.8848 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.01086, allocations: 0.7817 MB / 0.8856 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.01141, allocations: 247.1 kB / 0.8858 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.01156, allocations: 111.6 kB / 0.886 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.901e-05/0.01163, allocations: 15.98 kB / 0.886 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.01165, allocations: 41.39 kB / 0.886 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.01165, allocations: 0 / 0.886 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.004379/0.01603, allocations: 1.074 MB / 0.8871 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.01606, allocations: 55.41 kB / 0.8871 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/0.01616, allocations: 185.9 kB / 0.8873 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.01619, allocations: 33.7 kB / 0.8873 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.01625, allocations: 171 kB / 0.8875 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.0163, allocations: 63.47 kB / 0.8875 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.01637, allocations: 51.34 kB / 0.8876 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.01649, allocations: 0.4962 MB / 0.8881 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.01663, allocations: 83.95 kB / 0.8882 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.01677, allocations: 95.89 kB / 0.8882 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.01701, allocations: 153.1 kB / 0.8884 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.01701, allocations: 4 kB / 0.8884 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002574/0.01958, allocations: 0.669 MB / 0.8891 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.0196, allocations: 7.938 kB / 0.8891 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01961, allocations: 4 kB / 0.8891 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.02022, allocations: 251.5 kB / 0.8893 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.02051, allocations: 67.95 kB / 0.8894 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006457/0.02115, allocations: 0.9481 MB / 0.8903 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.02134, allocations: 35.92 kB / 0.8903 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.02137, allocations: 4 kB / 0.8903 GB, free: 9.559 MB / 0.8542 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.0001121/0.02148, allocations: 180.5 kB / 0.8905 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.02152, allocations: 19.91 kB / 0.8905 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007075/0.02223, allocations: 399.9 kB / 0.8909 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.02224, allocations: 4 kB / 0.8909 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.02224, allocations: 3.938 kB / 0.8909 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.02224, allocations: 0 / 0.8909 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.02352, allocations: 0.7632 MB / 0.8917 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02352, allocations: 0 / 0.8917 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.02378, allocations: 64.02 kB / 0.8917 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/0.02431, allocations: 259.4 kB / 0.892 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.02434, allocations: 7.984 kB / 0.892 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005969/0.02493, allocations: 0.9481 MB / 0.8929 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.02494, allocations: 0 / 0.8929 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.0254, allocations: 410.7 kB / 0.8933 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.02541, allocations: 11.89 kB / 0.8933 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.02544, allocations: 4 kB / 0.8933 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.02565, allocations: 35.91 kB / 0.8933 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.02569, allocations: 11.98 kB / 0.8934 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.02571, allocations: 7.984 kB / 0.8934 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.076e-05/0.02576, allocations: 142.4 kB / 0.8935 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02576, allocations: 0 / 0.8935 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003226/0.02608, allocations: 135.6 kB / 0.8936 GB, free: 6.043 MB / 0.8542 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.0003136/0.02639, allocations: 230.8 kB / 0.8938 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008847/0.02728, allocations: 310.4 kB / 0.8941 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02728, allocations: 0 / 0.8941 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006027/0.02788, allocations: 182.4 kB / 0.8943 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.02814, allocations: 47.95 kB / 0.8944 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.03218, allocations: 1.03 MB / 0.8954 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.453e-05/0.03222, allocations: 67.84 kB / 0.8954 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001381/0.03236, allocations: 45.53 kB / 0.8955 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.03246, allocations: 24.47 kB / 0.8955 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of SimCode: time 6.52e-07/0.03246, allocations: 0 / 0.8955 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of Templates: time 0.009005/0.04146, allocations: 7.824 MB / 0.9031 GB, free: 12.3 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.286061702761799]