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.0009156/0.0009156, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.0009438/0.0009438, allocations: 170 kB / 23.27 MB, free: 1.219 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.9229/0.9229, allocations: 177.1 MB / 203.7 MB, free: 5.523 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 2.203/2.203, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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 2.174e-06/2.174e-06, allocations: 0 / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.985e-05, allocations: 9.406 kB / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003138/0.003168, allocations: 2.101 MB / 0.8918 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.004749, allocations: 1.437 MB / 0.8932 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.00482, allocations: 4 kB / 0.8932 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 5.312e-05/0.004873, allocations: 15.8 kB / 0.8932 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.389e-05/0.004967, allocations: 59.48 kB / 0.8933 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00085/0.005817, allocations: 346.6 kB / 0.8936 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.006018, allocations: 243 kB / 0.8938 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.006131, allocations: 37.75 kB / 0.8939 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.006246, allocations: 131.8 kB / 0.894 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.006338, allocations: 67.84 kB / 0.8941 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.006364, allocations: 24 kB / 0.8941 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005528/0.006917, allocations: 351.4 kB / 0.8944 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.006964, allocations: 47.88 kB / 0.8945 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.007022, allocations: 63.89 kB / 0.8945 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.007477, allocations: 398.8 kB / 0.8949 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.00748, allocations: 4 kB / 0.8949 GB, free: 4.453 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.72e-07/0.007481, allocations: 3.938 kB / 0.8949 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.007485, allocations: 0 / 0.8949 GB, free: 4.449 MB / 0.8542 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.0005697/0.008054, allocations: 0.5502 MB / 0.8955 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.008089, allocations: 8.625 kB / 0.8955 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.009152, allocations: 252.6 kB / 0.8957 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.697e-05/0.009239, allocations: 124.4 kB / 0.8958 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.00931, allocations: 75.97 kB / 0.8959 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.009345, allocations: 12.38 kB / 0.8959 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.0098, allocations: 306.5 kB / 0.8962 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.009808, allocations: 192 / 0.8962 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.009831, allocations: 4.375 kB / 0.8962 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.009838, allocations: 8.125 kB / 0.8962 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.01001, allocations: 135.6 kB / 0.8963 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009712/0.01098, allocations: 0.751 MB / 0.8971 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.01143, allocations: 223 kB / 0.8973 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.01153, allocations: 91.64 kB / 0.8974 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.106e-05/0.0116, allocations: 12.31 kB / 0.8974 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.01163, allocations: 45.39 kB / 0.8974 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.01163, allocations: 7.938 kB / 0.8974 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.003929/0.01556, allocations: 1.019 MB / 0.8984 GB, free: 0.6797 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.01559, allocations: 55.41 kB / 0.8985 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.01569, allocations: 184.9 kB / 0.8987 GB, free: 428 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.01572, allocations: 29.7 kB / 0.8987 GB, free: 392 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.01579, allocations: 175 kB / 0.8989 GB, free: 212 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.01584, allocations: 59.47 kB / 0.8989 GB, free: 152 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.092e-05/0.01592, allocations: 51.33 kB / 0.899 GB, free: 92 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.01604, allocations: 0.4962 MB / 0.8994 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.01615, allocations: 67.95 kB / 0.8995 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.291e-05/0.01624, allocations: 75.89 kB / 0.8996 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.01642, allocations: 125.2 kB / 0.8997 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01642, allocations: 0 / 0.8997 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002334/0.01876, allocations: 0.643 MB / 0.9003 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.01878, allocations: 14.34 kB / 0.9003 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01878, allocations: 3.938 kB / 0.9003 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005566/0.01934, allocations: 243.4 kB / 0.9006 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.01961, allocations: 71.95 kB / 0.9007 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005694/0.02018, allocations: 0.9287 MB / 0.9016 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.02038, allocations: 35.92 kB / 0.9016 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.0204, allocations: 8 kB / 0.9016 GB, free: 13.33 MB / 0.8698 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.0001173/0.02052, allocations: 168.5 kB / 0.9018 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.02057, allocations: 15.91 kB / 0.9018 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006551/0.02122, allocations: 369.8 kB / 0.9021 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.02123, allocations: 0 / 0.9021 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.02123, allocations: 0 / 0.9021 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.02123, allocations: 7.938 kB / 0.9021 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.02242, allocations: 0.7167 MB / 0.9028 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.02242, allocations: 4 kB / 0.9028 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.02266, allocations: 68 kB / 0.9029 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000505/0.02317, allocations: 253.3 kB / 0.9031 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.0232, allocations: 11.98 kB / 0.9032 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005394/0.02374, allocations: 0.9325 MB / 0.9041 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02374, allocations: 0 / 0.9041 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.02416, allocations: 391.2 kB / 0.9044 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.02417, allocations: 11.89 kB / 0.9045 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.02421, allocations: 0 / 0.9045 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.0244, allocations: 39.97 kB / 0.9045 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.02443, allocations: 11.92 kB / 0.9045 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.02445, allocations: 11.98 kB / 0.9045 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.0245, allocations: 135.2 kB / 0.9046 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.0245, allocations: 0 / 0.9046 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003708/0.02487, allocations: 139.6 kB / 0.9048 GB, free: 9.941 MB / 0.8698 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.0003446/0.02522, allocations: 238.6 kB / 0.905 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007401/0.02596, allocations: 263.2 kB / 0.9053 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.02596, allocations: 8 kB / 0.9053 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.02648, allocations: 163.5 kB / 0.9054 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.02674, allocations: 58.58 kB / 0.9055 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/0.03044, allocations: 1.018 MB / 0.9065 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.312e-05/0.03048, allocations: 67.84 kB / 0.9065 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.03063, allocations: 41.53 kB / 0.9066 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.03081, allocations: 118.1 kB / 0.9067 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/0.03081, allocations: 0 / 0.9067 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of Templates: time 0.009178/0.03999, allocations: 7.851 MB / 0.9144 GB, free: 100 kB / 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.2213369980454445]