Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.89 kB / 1.059 GB, free: 384 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3019, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003326/0.3052, allocations: 2.07 MB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00263/0.3078, allocations: 1.675 MB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.3079, allocations: 4 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.14e-05/0.3079, allocations: 15.8 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.308, allocations: 55.53 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009767/0.309, allocations: 366.8 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000259/0.3093, allocations: 231.1 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.3094, allocations: 33.55 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3095, allocations: 83.77 kB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.3097, allocations: 95.66 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.3097, allocations: 20 kB / 1.221 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007973/0.3105, allocations: 415.5 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.3106, allocations: 51.81 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.957e-05/0.3107, allocations: 91.66 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006159/0.3113, allocations: 434.6 kB / 1.222 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3113, allocations: 0 / 1.222 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3113, allocations: 0 / 1.222 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3113, allocations: 0 / 1.222 GB, free: 9.703 MB / 0.9669 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.0009926/0.3123, allocations: 0.5334 MB / 1.222 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3123, allocations: 11.97 kB / 1.222 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.3135, allocations: 136.7 kB / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.3137, allocations: 188.2 kB / 1.222 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.694e-05/0.3138, allocations: 54.25 kB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.3138, allocations: 12.38 kB / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006068/0.3144, allocations: 206.1 kB / 1.223 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3144, allocations: 7.938 kB / 1.223 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.3145, allocations: 8 kB / 1.223 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3145, allocations: 4 kB / 1.223 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007717/0.3152, allocations: 235.6 kB / 1.223 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.3168, allocations: 0.9664 MB / 1.224 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.3173, allocations: 178.5 kB / 1.224 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.3177, allocations: 100.8 kB / 1.224 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007191/0.3184, allocations: 0.5259 MB / 1.225 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3184, allocations: 38.5 kB / 1.225 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.3184, allocations: 3.938 kB / 1.225 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.00118/0.3196, allocations: 333.7 kB / 1.225 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.3197, allocations: 51.41 kB / 1.225 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3198, allocations: 155.9 kB / 1.225 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.3198, allocations: 29.7 kB / 1.225 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.599e-05/0.3199, allocations: 116.3 kB / 1.225 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.32, allocations: 59.47 kB / 1.225 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.469e-05/0.3201, allocations: 45.7 kB / 1.225 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3202, allocations: 322.8 kB / 1.226 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.3206, allocations: 103.9 kB / 1.226 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.321, allocations: 121.7 kB / 1.226 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.3216, allocations: 195.8 kB / 1.226 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3216, allocations: 4 kB / 1.226 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008158/0.3225, allocations: 280 kB / 1.226 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3225, allocations: 5.875 kB / 1.226 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3225, allocations: 0 / 1.226 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3225, allocations: 4 kB / 1.226 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.3229, allocations: 59.88 kB / 1.227 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3229, allocations: 0 / 1.227 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.3232, allocations: 31.88 kB / 1.227 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.3232, allocations: 7.984 kB / 1.227 GB, free: 4.207 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.3233, allocations: 129.7 kB / 1.227 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.3234, allocations: 15.91 kB / 1.227 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008576/0.3242, allocations: 265.6 kB / 1.227 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3242, allocations: 7.938 kB / 1.227 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3242, allocations: 0 / 1.227 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3242, allocations: 0 / 1.227 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.3261, allocations: 1.073 MB / 1.228 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3262, allocations: 7.875 kB / 1.228 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.3265, allocations: 48.02 kB / 1.228 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3265, allocations: 4 kB / 1.228 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.3265, allocations: 0 / 1.228 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3265, allocations: 4 kB / 1.228 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3265, allocations: 3.938 kB / 1.228 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007992/0.3273, allocations: 353 kB / 1.228 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.3274, allocations: 93 kB / 1.228 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.3274, allocations: 0 / 1.228 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.3277, allocations: 23.97 kB / 1.229 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.3278, allocations: 15.98 kB / 1.229 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.3278, allocations: 4 kB / 1.229 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.755e-05/0.3279, allocations: 125.3 kB / 1.229 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3279, allocations: 0 / 1.229 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004776/0.3284, allocations: 139.4 kB / 1.229 GB, free: 1.711 MB / 0.9669 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004369/0.3288, allocations: 230.7 kB / 1.229 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007902/0.3296, allocations: 219.8 kB / 1.229 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3296, allocations: 0 / 1.229 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003481/0.33, allocations: 111.8 kB / 1.229 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.3304, allocations: 52.02 kB / 1.229 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.3325, allocations: 488.2 kB / 1.23 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.3328, allocations: 0.7164 MB / 1.231 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000189/0.333, allocations: 33.48 kB / 1.231 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.3331, allocations: 15.44 kB / 1.231 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3331, allocations: 0 / 1.231 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.008889/0.342, allocations: 4.645 MB / 1.235 GB, free: 11.2 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.10458139050752]