Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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.0009373/0.0009373, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009422/0.0009422, allocations: 169.7 kB / 23.28 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.883/0.883, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.239/2.239, allocations: 438.1 MB / 0.682 GB, free: 14.2 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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,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_ZeroInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.925e-05, allocations: 13.12 kB / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.002218/0.002238, allocations: 2.101 MB / 0.8918 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.004012, allocations: 1.445 MB / 0.8932 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.004065, allocations: 4 kB / 0.8932 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.495e-05/0.00411, allocations: 15.84 kB / 0.8932 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.718e-05/0.004187, allocations: 55.44 kB / 0.8933 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.004856, allocations: 342.6 kB / 0.8936 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.00502, allocations: 247 kB / 0.8938 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.00514, allocations: 37.7 kB / 0.8939 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.005274, allocations: 127.8 kB / 0.894 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.005377, allocations: 71.84 kB / 0.8941 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.005406, allocations: 20 kB / 0.8941 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.005852, allocations: 351.4 kB / 0.8944 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.005881, allocations: 43.89 kB / 0.8945 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.005929, allocations: 75.81 kB / 0.8945 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.006298, allocations: 402.7 kB / 0.8949 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.006301, allocations: 4 kB / 0.8949 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.71e-07/0.006302, allocations: 0 / 0.8949 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.006306, allocations: 0 / 0.8949 GB, free: 4.461 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.0005168/0.006822, allocations: 0.5464 MB / 0.8955 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.006858, allocations: 8.625 kB / 0.8955 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.007869, allocations: 244.6 kB / 0.8957 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.71e-05/0.007946, allocations: 128.4 kB / 0.8958 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/0.008006, allocations: 75.97 kB / 0.8959 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.008037, allocations: 20.36 kB / 0.8959 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.008447, allocations: 298.5 kB / 0.8962 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.008455, allocations: 192 / 0.8962 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.008476, allocations: 8.375 kB / 0.8962 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.008482, allocations: 8.125 kB / 0.8962 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.008645, allocations: 135.5 kB / 0.8963 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/0.009499, allocations: 0.7471 MB / 0.8971 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.009928, allocations: 231 kB / 0.8973 GB, free: 1.891 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/0.01003, allocations: 91.64 kB / 0.8974 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.856e-05/0.01009, allocations: 15.56 kB / 0.8974 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.01011, allocations: 49.38 kB / 0.8974 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.492e-06/0.01011, allocations: 0 / 0.8974 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.003817/0.01393, allocations: 1.017 MB / 0.8984 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.01395, allocations: 51.41 kB / 0.8985 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.778e-05/0.01403, allocations: 185.9 kB / 0.8987 GB, free: 448 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.01406, allocations: 29.7 kB / 0.8987 GB, free: 412 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.01412, allocations: 175 kB / 0.8989 GB, free: 232 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.01416, allocations: 59.47 kB / 0.8989 GB, free: 172 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.01423, allocations: 51.33 kB / 0.899 GB, free: 112 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01435, allocations: 0.4923 MB / 0.8994 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-05/0.01445, allocations: 71.89 kB / 0.8995 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.664e-05/0.01455, allocations: 77.95 kB / 0.8996 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.01472, allocations: 129.4 kB / 0.8997 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.01473, allocations: 0 / 0.8997 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002579/0.0173, allocations: 0.6429 MB / 0.9003 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.01732, allocations: 4 kB / 0.9003 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01732, allocations: 7.922 kB / 0.9003 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005048/0.01783, allocations: 254.8 kB / 0.9006 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.01809, allocations: 71.89 kB / 0.9007 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005243/0.01861, allocations: 0.9228 MB / 0.9016 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.01879, allocations: 35.92 kB / 0.9016 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.01881, allocations: 7.984 kB / 0.9016 GB, free: 13.36 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 9.426e-05/0.0189, allocations: 168.5 kB / 0.9018 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.01895, allocations: 19.91 kB / 0.9018 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005956/0.01954, allocations: 364.7 kB / 0.9021 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.01955, allocations: 3.938 kB / 0.9021 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.01955, allocations: 0 / 0.9021 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.01955, allocations: 11.94 kB / 0.9021 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.02067, allocations: 0.7114 MB / 0.9028 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.02067, allocations: 4 kB / 0.9028 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.02091, allocations: 67.98 kB / 0.9029 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.02137, allocations: 254.5 kB / 0.9031 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.02139, allocations: 8 kB / 0.9032 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004987/0.02189, allocations: 0.9287 MB / 0.9041 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02189, allocations: 0 / 0.9041 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.02228, allocations: 392.9 kB / 0.9044 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.0223, allocations: 19.88 kB / 0.9045 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.02232, allocations: 0 / 0.9045 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.02252, allocations: 31.97 kB / 0.9045 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.02254, allocations: 15.91 kB / 0.9045 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.02256, allocations: 12 kB / 0.9045 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.0226, allocations: 135.2 kB / 0.9046 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.0226, allocations: 0 / 0.9046 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003184/0.02292, allocations: 143.5 kB / 0.9048 GB, free: 9.965 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.0002772/0.0232, allocations: 238.6 kB / 0.905 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000711/0.02391, allocations: 269.1 kB / 0.9053 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02391, allocations: 0 / 0.9053 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005132/0.02442, allocations: 163.5 kB / 0.9054 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.02465, allocations: 47.95 kB / 0.9055 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.0261, allocations: 0.5402 MB / 0.906 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.793e-05/0.02614, allocations: 75.78 kB / 0.9061 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.02627, allocations: 44.36 kB / 0.9061 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.02644, allocations: 114.1 kB / 0.9062 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of SimCode: time 8.82e-07/0.02644, allocations: 0 / 0.9062 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of Templates: time 0.008399/0.03484, allocations: 7.866 MB / 0.9139 GB, free: 0.6055 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.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.116133465897292]