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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001315/0.001315, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001438/0.001438, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 71.83 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2944, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003566/0.298, allocations: 2.097 MB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.3005, allocations: 1.757 MB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.3005, allocations: 4 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.19e-05/0.3006, allocations: 7.922 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.3007, allocations: 43.61 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008668/0.3016, allocations: 299.2 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.3018, allocations: 211.2 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.302, allocations: 45.52 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.643e-05/0.3021, allocations: 83.7 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.3022, allocations: 91.67 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.3023, allocations: 12 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007836/0.3031, allocations: 387.5 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.589e-05/0.3031, allocations: 35.91 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.736e-05/0.3032, allocations: 87.59 kB / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006184/0.3039, allocations: 439.1 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3039, allocations: 4 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.61e-07/0.3039, allocations: 0 / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3039, allocations: 0 / 1.073 GB, free: 5.355 MB / 0.8262 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.001052/0.3049, allocations: 0.5109 MB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.305, allocations: 12.03 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.3062, allocations: 136.6 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.3064, allocations: 180.2 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.3065, allocations: 58.12 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.3066, allocations: 20.38 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.3072, allocations: 215.7 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3072, allocations: 3.938 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.3072, allocations: 8 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3073, allocations: 8 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.308, allocations: 235.8 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.3095, allocations: 0.9696 MB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.31, allocations: 182.6 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.3103, allocations: 108.8 kB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007005/0.3111, allocations: 0.5259 MB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3111, allocations: 34.56 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.3111, allocations: 0 / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001104/0.3122, allocations: 336.1 kB / 1.076 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.3122, allocations: 51.41 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.3124, allocations: 161.1 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3124, allocations: 29.7 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.3125, allocations: 120.1 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.3126, allocations: 47.3 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/0.3126, allocations: 49.61 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3128, allocations: 326.8 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.3132, allocations: 99.89 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.3135, allocations: 127 kB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006206/0.3142, allocations: 205.9 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3142, allocations: 0 / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007907/0.315, allocations: 265.5 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.315, allocations: 7.938 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.315, allocations: 3.938 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.315, allocations: 4 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.3154, allocations: 59.84 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3154, allocations: 0 / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.3157, allocations: 35.72 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.3157, allocations: 8 kB / 1.078 GB, free: 15.85 MB / 0.8419 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.0001233/0.3159, allocations: 135.1 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.3159, allocations: 15.89 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008341/0.3168, allocations: 258.7 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3168, allocations: 7.938 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.3168, allocations: 0 / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3168, allocations: 4 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.3186, allocations: 1.066 MB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3187, allocations: 4 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.319, allocations: 43.97 kB / 1.079 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/0.319, allocations: 7.984 kB / 1.079 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.319, allocations: 0 / 1.079 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3191, allocations: 4 kB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3191, allocations: 0 / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007843/0.3199, allocations: 355.4 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.3199, allocations: 92.94 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.32, allocations: 4 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.3203, allocations: 27.97 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.3203, allocations: 11.98 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.3204, allocations: 4 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.938e-05/0.3205, allocations: 121.5 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3205, allocations: 0 / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004869/0.321, allocations: 131.9 kB / 1.08 GB, free: 13.38 MB / 0.8419 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.0004491/0.3214, allocations: 234.9 kB / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007806/0.3222, allocations: 223.8 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3222, allocations: 8.062 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.3226, allocations: 107.9 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.3231, allocations: 47.98 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.3252, allocations: 0.5176 MB / 1.081 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.3255, allocations: 0.7128 MB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.3257, allocations: 36.61 kB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.931e-05/0.3258, allocations: 23.42 kB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3258, allocations: 0 / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.00783/0.3336, allocations: 4.398 MB / 1.086 GB, free: 7.047 MB / 0.8419 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 -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/jenkins/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