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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 103.3 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 190.2 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.05 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2721, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00314/0.2752, allocations: 2.046 MB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002177/0.2774, allocations: 1.671 MB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.2775, allocations: 4 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.944e-05/0.2776, allocations: 15.8 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2777, allocations: 55.55 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008694/0.2786, allocations: 358.8 kB / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.2788, allocations: 227.1 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.279, allocations: 57.42 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.2791, allocations: 87.77 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.2792, allocations: 91.66 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.2793, allocations: 20 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007/0.28, allocations: 407.5 kB / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.28, allocations: 51.88 kB / 1.024 GB, free: 4.789 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.409e-05/0.2801, allocations: 83.66 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.2806, allocations: 438.9 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2806, allocations: 4 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2806, allocations: 0 / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2807, allocations: 4 kB / 1.024 GB, free: 4.27 MB / 0.795 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.000802/0.2815, allocations: 0.511 MB / 1.025 GB, free: 3.707 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2815, allocations: 16.86 kB / 1.025 GB, free: 3.691 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.2826, allocations: 136.6 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.2827, allocations: 184.1 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/0.2828, allocations: 54.2 kB / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.2828, allocations: 20.31 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.2834, allocations: 215.4 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2834, allocations: 3.938 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.2834, allocations: 8 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2834, allocations: 4 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006958/0.2841, allocations: 235.8 kB / 1.026 GB, free: 2.801 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2855, allocations: 0.9622 MB / 1.026 GB, free: 1.715 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.286, allocations: 186.6 kB / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.2863, allocations: 112.8 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006992/0.287, allocations: 0.5181 MB / 1.027 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.2871, allocations: 38.55 kB / 1.027 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.2871, allocations: 0 / 1.027 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.001124/0.2882, allocations: 333.5 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.2883, allocations: 55.41 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.2884, allocations: 159 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.2885, allocations: 33.7 kB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.2886, allocations: 112.2 kB / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.2886, allocations: 59.36 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.577e-05/0.2887, allocations: 41.69 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2889, allocations: 326.8 kB / 1.028 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.2892, allocations: 103.9 kB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.2896, allocations: 123 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.2902, allocations: 199.3 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2902, allocations: 3.938 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007333/0.2909, allocations: 275.7 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.291, allocations: 8 kB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.291, allocations: 0 / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.291, allocations: 0 / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.2914, allocations: 55.89 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2914, allocations: 4 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.2917, allocations: 27.83 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.2917, allocations: 8 kB / 1.029 GB, free: 14.78 MB / 0.8106 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.0001173/0.2918, allocations: 130.4 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.2919, allocations: 15.81 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007834/0.2927, allocations: 272.7 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2927, allocations: 3.938 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2927, allocations: 3.984 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2927, allocations: 0 / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.2945, allocations: 1.07 MB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2945, allocations: 3.938 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.2948, allocations: 48.02 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2948, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.2949, allocations: 11.94 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2949, allocations: 0 / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2949, allocations: 0 / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007522/0.2956, allocations: 349 kB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.2957, allocations: 96.84 kB / 1.031 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.2957, allocations: 8 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.296, allocations: 23.97 kB / 1.031 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.2961, allocations: 11.98 kB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.2961, allocations: 12 kB / 1.031 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.52e-05/0.2962, allocations: 115.2 kB / 1.031 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2962, allocations: 0 / 1.031 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004462/0.2967, allocations: 131.9 kB / 1.031 GB, free: 12.29 MB / 0.8106 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.0003963/0.2971, allocations: 234.9 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007282/0.2978, allocations: 227.8 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2978, allocations: 0 / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.2981, allocations: 119.6 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.2986, allocations: 39.92 kB / 1.032 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.3006, allocations: 488.2 kB / 1.032 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3008, allocations: 0.7164 MB / 1.033 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.301, allocations: 25.55 kB / 1.033 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.3011, allocations: 19.44 kB / 1.033 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.3011, allocations: 0 / 1.033 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of Templates: time 0.007696/0.3088, allocations: 4.536 MB / 1.038 GB, free: 5.883 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches