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.0009719/0.0009719, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001006/0.001006, allocations: 177 kB / 23.5 MB, free: 1.051 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.9436/0.9436, allocations: 177.1 MB / 203.8 MB, free: 5.602 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.064/2.064, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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 1.643e-06/1.643e-06, allocations: 0.875 kB / 0.8782 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.693e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002216/0.002233, allocations: 2.111 MB / 0.8803 GB, free: 3.383 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.003858, allocations: 1.651 MB / 0.8819 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.003912, allocations: 4 kB / 0.8819 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.874e-05/0.003961, allocations: 24.47 kB / 0.8819 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.402e-05/0.004045, allocations: 52.89 kB / 0.8819 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.004748, allocations: 368.1 kB / 0.8823 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.00492, allocations: 235 kB / 0.8825 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.005029, allocations: 39.19 kB / 0.8826 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.005138, allocations: 135.7 kB / 0.8827 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.094e-05/0.005229, allocations: 71.84 kB / 0.8828 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.005255, allocations: 20 kB / 0.8828 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000496/0.005751, allocations: 415.3 kB / 0.8832 GB, free: 416 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.208e-05/0.005783, allocations: 39.89 kB / 0.8832 GB, free: 376 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.00584, allocations: 71.83 kB / 0.8833 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.00627, allocations: 422.7 kB / 0.8837 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006272, allocations: 0 / 0.8837 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.21e-07/0.006273, allocations: 4 kB / 0.8837 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.006276, allocations: 0 / 0.8837 GB, free: 15.88 MB / 0.8073 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.0005967/0.006873, allocations: 0.5464 MB / 0.8842 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.006907, allocations: 12.03 kB / 0.8842 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.008092, allocations: 248.6 kB / 0.8845 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.713e-05/0.008179, allocations: 128.4 kB / 0.8846 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-05/0.008252, allocations: 71.95 kB / 0.8847 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.008288, allocations: 20.38 kB / 0.8847 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.008807, allocations: 326.5 kB / 0.885 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.008815, allocations: 192 / 0.885 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.008841, allocations: 8.375 kB / 0.885 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.00885, allocations: 8.125 kB / 0.885 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.009095, allocations: 161 kB / 0.8852 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.01013, allocations: 0.774 MB / 0.8859 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.01069, allocations: 262.9 kB / 0.8862 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.01084, allocations: 107.6 kB / 0.8863 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.868e-05/0.01091, allocations: 15.98 kB / 0.8863 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.01093, allocations: 41.39 kB / 0.8863 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.01093, allocations: 0 / 0.8863 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.004543/0.01548, allocations: 1.064 MB / 0.8874 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.0155, allocations: 55.41 kB / 0.8874 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.01561, allocations: 191 kB / 0.8876 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.01564, allocations: 33.7 kB / 0.8876 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.01571, allocations: 163.1 kB / 0.8878 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.01575, allocations: 63.48 kB / 0.8878 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.01583, allocations: 55.33 kB / 0.8879 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.01593, allocations: 0.4961 MB / 0.8884 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.01608, allocations: 83.97 kB / 0.8885 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.01622, allocations: 94.14 kB / 0.8885 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.01647, allocations: 147.7 kB / 0.8887 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01647, allocations: 0 / 0.8887 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002652/0.01912, allocations: 0.6759 MB / 0.8893 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.01914, allocations: 7.938 kB / 0.8894 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01914, allocations: 4 kB / 0.8894 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/0.01976, allocations: 263.3 kB / 0.8896 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.02006, allocations: 75.88 kB / 0.8897 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006119/0.02067, allocations: 0.9327 MB / 0.8906 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.02086, allocations: 39.86 kB / 0.8906 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.02088, allocations: 11.98 kB / 0.8906 GB, free: 8.465 MB / 0.8073 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.0001241/0.02101, allocations: 168.5 kB / 0.8908 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.02106, allocations: 15.89 kB / 0.8908 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007316/0.02179, allocations: 403.6 kB / 0.8912 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.0218, allocations: 4 kB / 0.8912 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.0218, allocations: 3.938 kB / 0.8912 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.02181, allocations: 3.984 kB / 0.8912 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.02308, allocations: 0.7592 MB / 0.892 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02308, allocations: 0 / 0.892 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.02335, allocations: 68 kB / 0.892 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005334/0.02389, allocations: 262.1 kB / 0.8923 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.02391, allocations: 15.98 kB / 0.8923 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005851/0.0245, allocations: 0.9404 MB / 0.8932 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.0245, allocations: 0 / 0.8932 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.02497, allocations: 410.6 kB / 0.8936 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.02498, allocations: 7.953 kB / 0.8936 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.02501, allocations: 4 kB / 0.8936 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.02523, allocations: 35.91 kB / 0.8936 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.02526, allocations: 15.97 kB / 0.8937 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.02528, allocations: 7.984 kB / 0.8937 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.02532, allocations: 139.2 kB / 0.8938 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02532, allocations: 0 / 0.8938 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003225/0.02565, allocations: 143.4 kB / 0.8939 GB, free: 4.953 MB / 0.8073 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.0003065/0.02595, allocations: 230.7 kB / 0.8942 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0008774/0.02683, allocations: 291.3 kB / 0.8944 GB, free: 4.43 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02683, allocations: 0 / 0.8944 GB, free: 4.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006203/0.02745, allocations: 181.6 kB / 0.8946 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.02771, allocations: 42.03 kB / 0.8946 GB, free: 4.211 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.03182, allocations: 1.038 MB / 0.8957 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.373e-05/0.03186, allocations: 75.69 kB / 0.8957 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001447/0.03201, allocations: 37.55 kB / 0.8958 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.269e-05/0.0321, allocations: 28.47 kB / 0.8958 GB, free: 2.977 MB / 0.8073 GB Notification: Performance of SimCode: time 9.82e-07/0.0321, allocations: 0 / 0.8958 GB, free: 2.977 MB / 0.8073 GB Notification: Performance of Templates: time 0.008052/0.04015, allocations: 7.221 MB / 0.9028 GB, free: 11.84 MB / 0.823 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.455503646982834]