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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001538/0.001538, allocations: 107 kB / 16.36 MB, free: 6.336 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.00174/0.00174, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.428/2.428, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001217, allocations: 69.05 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2752, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003048/0.2783, allocations: 2.043 MB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.2805, allocations: 1.679 MB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.2806, allocations: 4 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.573e-05/0.2807, allocations: 19.78 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2808, allocations: 47.56 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009449/0.2817, allocations: 358.8 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.2819, allocations: 231.1 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.2821, allocations: 49.53 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.914e-05/0.2822, allocations: 87.77 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.2823, allocations: 91.67 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.2824, allocations: 20 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007058/0.2831, allocations: 415.5 kB / 1.032 GB, free: 13 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.2831, allocations: 39.91 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.2832, allocations: 87.66 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005273/0.2838, allocations: 442.8 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.2838, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2838, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.2838, allocations: 4 kB / 1.032 GB, free: 12.44 MB / 0.8106 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.0007886/0.2846, allocations: 0.5225 MB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2846, allocations: 12.03 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.2857, allocations: 136.7 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2858, allocations: 184.1 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.2859, allocations: 46.25 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.2859, allocations: 20.38 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.2865, allocations: 217.8 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2865, allocations: 3.938 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.2865, allocations: 4 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2865, allocations: 4 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006962/0.2872, allocations: 239.8 kB / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.2886, allocations: 0.9545 MB / 1.034 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/0.2891, allocations: 186.6 kB / 1.035 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.2894, allocations: 116.7 kB / 1.035 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006254/0.29, allocations: 0.5181 MB / 1.035 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.2901, allocations: 38.56 kB / 1.035 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.2901, allocations: 4 kB / 1.035 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001113/0.2912, allocations: 327.8 kB / 1.036 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.2913, allocations: 59.39 kB / 1.036 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2914, allocations: 156.1 kB / 1.036 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.2914, allocations: 29.7 kB / 1.036 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.2915, allocations: 120.1 kB / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.2916, allocations: 55.2 kB / 1.036 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.2916, allocations: 33.7 kB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.2917, allocations: 330.8 kB / 1.036 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.2921, allocations: 111.8 kB / 1.036 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.2924, allocations: 121.6 kB / 1.037 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.2931, allocations: 196.1 kB / 1.037 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2931, allocations: 0 / 1.037 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007513/0.2938, allocations: 271.2 kB / 1.037 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2939, allocations: 12.03 kB / 1.037 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2939, allocations: 4 kB / 1.037 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2939, allocations: 0 / 1.037 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.2943, allocations: 55.83 kB / 1.037 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2943, allocations: 4 kB / 1.037 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.2945, allocations: 35.81 kB / 1.037 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.2946, allocations: 4 kB / 1.037 GB, free: 6.949 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.0001037/0.2947, allocations: 125.8 kB / 1.037 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.2947, allocations: 15.81 kB / 1.037 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007824/0.2955, allocations: 270.6 kB / 1.038 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2955, allocations: 3.938 kB / 1.038 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2956, allocations: 0 / 1.038 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2956, allocations: 3.984 kB / 1.038 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.2972, allocations: 1.069 MB / 1.039 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2972, allocations: 3.938 kB / 1.039 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/0.2976, allocations: 47.89 kB / 1.039 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.2976, allocations: 0 / 1.039 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.2976, allocations: 12.06 kB / 1.039 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2976, allocations: 0 / 1.039 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2976, allocations: 3.984 kB / 1.039 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.2984, allocations: 343.8 kB / 1.039 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.2984, allocations: 92.86 kB / 1.039 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.2985, allocations: 11.94 kB / 1.039 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.2988, allocations: 23.97 kB / 1.039 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.2988, allocations: 11.92 kB / 1.039 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.2989, allocations: 15.98 kB / 1.039 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.166e-05/0.299, allocations: 117.7 kB / 1.039 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.299, allocations: 7.938 kB / 1.039 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004435/0.2994, allocations: 131.9 kB / 1.039 GB, free: 4.449 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.0004107/0.2998, allocations: 223 kB / 1.04 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007661/0.3006, allocations: 231.8 kB / 1.04 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3006, allocations: 0 / 1.04 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.301, allocations: 116.1 kB / 1.04 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.3014, allocations: 43.91 kB / 1.04 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.3034, allocations: 480.2 kB / 1.04 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.3037, allocations: 0.7086 MB / 1.041 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000157/0.3038, allocations: 37.48 kB / 1.041 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.3039, allocations: 23.42 kB / 1.041 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of SimCode: time 1.663e-06/0.3039, allocations: 4 kB / 1.041 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of Templates: time 0.007905/0.3118, allocations: 4.534 MB / 1.046 GB, free: 14.06 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches