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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00159/0.00159, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001835/0.001835, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.699/2.699, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.97 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3932, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003792/0.397, allocations: 2.098 MB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002811/0.3999, allocations: 1.753 MB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.4, allocations: 0 / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.407e-05/0.4001, allocations: 19.86 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.4003, allocations: 39.67 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.4013, allocations: 295.2 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.4016, allocations: 219.1 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.4017, allocations: 45.44 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.4019, allocations: 83.75 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.4021, allocations: 83.67 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.4021, allocations: 12 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008572/0.403, allocations: 399.5 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.403, allocations: 35.91 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.4031, allocations: 83.59 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007091/0.4039, allocations: 435.1 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4039, allocations: 0 / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4039, allocations: 3.938 kB / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.4039, allocations: 0 / 1.058 GB, free: 3.246 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.0009959/0.4049, allocations: 0.5226 MB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4049, allocations: 8.031 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.4061, allocations: 136.6 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.4063, allocations: 188.1 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.4064, allocations: 50.25 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.4064, allocations: 12.38 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.407, allocations: 221.8 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.407, allocations: 3.938 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.4071, allocations: 4 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.4071, allocations: 4 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.4082, allocations: 235.8 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.4103, allocations: 0.9584 MB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.4108, allocations: 182.5 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.4112, allocations: 116.8 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008006/0.412, allocations: 0.5181 MB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.4121, allocations: 34.56 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.705e-06/0.4121, allocations: 4 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001283/0.4134, allocations: 332.1 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.4135, allocations: 55.41 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.4136, allocations: 160.5 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.4137, allocations: 33.7 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.4138, allocations: 120.1 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.4138, allocations: 59.14 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.414, allocations: 37.7 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.4142, allocations: 322.8 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.4145, allocations: 107.9 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.415, allocations: 131.1 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008005/0.4158, allocations: 191.5 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4158, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008798/0.4167, allocations: 271.3 kB / 1.062 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.4168, allocations: 13.42 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4168, allocations: 0 / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.4168, allocations: 3.984 kB / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.4172, allocations: 59.84 kB / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4172, allocations: 4 kB / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.4176, allocations: 31.81 kB / 1.062 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.4176, allocations: 15.94 kB / 1.062 GB, free: 13.74 MB / 0.8262 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.0001563/0.4178, allocations: 119.4 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.4179, allocations: 15.81 kB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009115/0.4188, allocations: 274.5 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4188, allocations: 3.938 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.4188, allocations: 3.984 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4188, allocations: 0 / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.4208, allocations: 1.077 MB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.4208, allocations: 7.938 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.4212, allocations: 39.91 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.4212, allocations: 0 / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.4212, allocations: 16.05 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4212, allocations: 0 / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4213, allocations: 4 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008947/0.4222, allocations: 339.5 kB / 1.064 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.4222, allocations: 92.86 kB / 1.064 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.4223, allocations: 15.98 kB / 1.064 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.4227, allocations: 19.97 kB / 1.064 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.4227, allocations: 19.92 kB / 1.064 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.4228, allocations: 7.938 kB / 1.064 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001403/0.4229, allocations: 118.5 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4229, allocations: 4 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005358/0.4234, allocations: 131.9 kB / 1.065 GB, free: 11.25 MB / 0.8262 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.000557/0.424, allocations: 231 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008336/0.4249, allocations: 227.8 kB / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4249, allocations: 0 / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.4253, allocations: 112.1 kB / 1.065 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.4258, allocations: 43.84 kB / 1.065 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.4281, allocations: 0.5215 MB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.4285, allocations: 0.705 MB / 1.067 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002356/0.4288, allocations: 29.55 kB / 1.067 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.253e-05/0.4289, allocations: 27.36 kB / 1.067 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.4289, allocations: 0 / 1.067 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of Templates: time 0.009095/0.438, allocations: 4.4 MB / 1.071 GB, free: 4.938 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 -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