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.0008926/0.0008926, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009464/0.0009464, allocations: 181 kB / 23.36 MB, free: 1.133 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.97/0.97, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.351/2.351, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.192e-06/1.192e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.086e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.002431/0.002452, allocations: 2.098 MB / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.004031, allocations: 1.464 MB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.004082, allocations: 0 / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.222e-05/0.004134, allocations: 23.78 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.417e-05/0.004218, allocations: 47.5 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.004967, allocations: 350.6 kB / 0.8425 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.005137, allocations: 235 kB / 0.8427 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.005242, allocations: 42.42 kB / 0.8427 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.005487, allocations: 123.8 kB / 0.8428 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.987e-05/0.005587, allocations: 75.72 kB / 0.8429 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.005611, allocations: 16 kB / 0.8429 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.006089, allocations: 359.5 kB / 0.8433 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/0.006124, allocations: 43.83 kB / 0.8433 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.006181, allocations: 75.88 kB / 0.8434 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.006587, allocations: 394.8 kB / 0.8438 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.00659, allocations: 0 / 0.8438 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.292e-06/0.006591, allocations: 0 / 0.8438 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.006595, allocations: 0 / 0.8438 GB, free: 8.809 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.0005239/0.007119, allocations: 435.8 kB / 0.8442 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.007151, allocations: 12.62 kB / 0.8442 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008799/0.008031, allocations: 204.7 kB / 0.8444 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.667e-05/0.008118, allocations: 117.6 kB / 0.8445 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.008189, allocations: 79.95 kB / 0.8446 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.008224, allocations: 24.31 kB / 0.8446 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.008648, allocations: 297.8 kB / 0.8449 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.008656, allocations: 192 / 0.8449 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.008679, allocations: 12.38 kB / 0.8449 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.008687, allocations: 8.125 kB / 0.8449 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.008843, allocations: 95.95 kB / 0.845 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008408/0.009683, allocations: 0.4993 MB / 0.8455 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.0101, allocations: 186.5 kB / 0.8457 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.121e-05/0.01019, allocations: 73.16 kB / 0.8457 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-05/0.01026, allocations: 19.98 kB / 0.8458 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.01028, allocations: 42.45 kB / 0.8458 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.01029, allocations: 0 / 0.8458 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.003639/0.01393, allocations: 0.9537 MB / 0.8467 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.01395, allocations: 55.41 kB / 0.8468 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.01402, allocations: 130.2 kB / 0.8469 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.01405, allocations: 25.7 kB / 0.8469 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.01411, allocations: 128.3 kB / 0.847 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.01415, allocations: 63.47 kB / 0.8471 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.01422, allocations: 41.67 kB / 0.8471 GB, free: 5.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.0143, allocations: 322.8 kB / 0.8475 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.01438, allocations: 59.92 kB / 0.8475 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.859e-05/0.01447, allocations: 59.92 kB / 0.8476 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.01463, allocations: 114.8 kB / 0.8477 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01463, allocations: 4 kB / 0.8477 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002199/0.01683, allocations: 0.577 MB / 0.8482 GB, free: 4.035 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.01685, allocations: 5.875 kB / 0.8483 GB, free: 4.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01686, allocations: 0 / 0.8483 GB, free: 4.031 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005487/0.01741, allocations: 247.8 kB / 0.8485 GB, free: 3.789 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.01768, allocations: 71.95 kB / 0.8486 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004675/0.01814, allocations: 0.6458 MB / 0.8492 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.01833, allocations: 39.86 kB / 0.8492 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.01835, allocations: 7.984 kB / 0.8492 GB, free: 3 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.000101/0.01845, allocations: 117.8 kB / 0.8493 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.01849, allocations: 15.98 kB / 0.8494 GB, free: 2.859 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005631/0.01905, allocations: 321.7 kB / 0.8497 GB, free: 2.543 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01905, allocations: 0 / 0.8497 GB, free: 2.543 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01906, allocations: 4 kB / 0.8497 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01906, allocations: 0 / 0.8497 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.02022, allocations: 0.5399 MB / 0.8502 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02022, allocations: 0 / 0.8502 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.02045, allocations: 67.92 kB / 0.8503 GB, free: 1.898 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004853/0.02094, allocations: 240.6 kB / 0.8505 GB, free: 1.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.02096, allocations: 3.984 kB / 0.8505 GB, free: 1.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000417/0.02137, allocations: 0.6459 MB / 0.8511 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.02137, allocations: 0 / 0.8511 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.02168, allocations: 299.5 kB / 0.8514 GB, free: 0.6719 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.0217, allocations: 15.89 kB / 0.8514 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.02173, allocations: 8 kB / 0.8514 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.02191, allocations: 23.97 kB / 0.8515 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.02195, allocations: 19.91 kB / 0.8515 GB, free: 0.6055 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.02196, allocations: 11.98 kB / 0.8515 GB, free: 0.5938 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.767e-05/0.02198, allocations: 19.98 kB / 0.8515 GB, free: 0.5742 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02198, allocations: 4 kB / 0.8515 GB, free: 0.5703 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003222/0.0223, allocations: 131.6 kB / 0.8516 GB, free: 452 kB / 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.0003173/0.02262, allocations: 219.9 kB / 0.8518 GB, free: 220 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007083/0.02333, allocations: 241.6 kB / 0.8521 GB, free: 15.98 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.02333, allocations: 4 kB / 0.8521 GB, free: 15.97 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.02383, allocations: 156.7 kB / 0.8522 GB, free: 15.82 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.02404, allocations: 60.02 kB / 0.8523 GB, free: 15.76 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.0255, allocations: 0.5239 MB / 0.8528 GB, free: 15.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.02554, allocations: 71.78 kB / 0.8529 GB, free: 15.11 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.02568, allocations: 47.98 kB / 0.8529 GB, free: 15.06 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.02586, allocations: 95.31 kB / 0.853 GB, free: 14.97 MB / 0.823 GB Notification: Performance of SimCode: time 5.31e-07/0.02586, allocations: 0 / 0.853 GB, free: 14.97 MB / 0.823 GB Notification: Performance of Templates: time 0.008843/0.0347, allocations: 7.855 MB / 0.8607 GB, free: 7.168 MB / 0.823 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.241832245141268]