Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,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_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001983/0.001983, allocations: 195.6 kB / 16.26 MB, free: 6.625 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.534/1.534, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.8 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.06 kB / 0.8986 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2851, allocations: 157.4 MB / 1.052 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.00328/0.2884, allocations: 2.106 MB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002286/0.2907, allocations: 1.667 MB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.2908, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.595e-05/0.2909, allocations: 15.86 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.2911, allocations: 39.67 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.2921, allocations: 323.2 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.2923, allocations: 231.1 kB / 1.057 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2925, allocations: 49.45 kB / 1.057 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.2926, allocations: 91.77 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.2928, allocations: 87.67 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.2928, allocations: 20 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007686/0.2936, allocations: 415.5 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.2936, allocations: 43.89 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.915e-05/0.2937, allocations: 91.66 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006012/0.2943, allocations: 443.1 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2944, allocations: 0 / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2944, allocations: 0 / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2944, allocations: 4 kB / 1.058 GB, free: 3.16 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.0009284/0.2953, allocations: 0.5086 MB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.2954, allocations: 12.62 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.2966, allocations: 136.6 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.2967, allocations: 192.1 kB / 1.059 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.2968, allocations: 50.25 kB / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.2969, allocations: 20.31 kB / 1.059 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.2975, allocations: 213.9 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2975, allocations: 3.938 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.2975, allocations: 8 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2975, allocations: 4 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.2983, allocations: 239.8 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.2997, allocations: 0.9584 MB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.3002, allocations: 190.5 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.3006, allocations: 112.8 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006723/0.3013, allocations: 0.5259 MB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3013, allocations: 34.56 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.3013, allocations: 0 / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001148/0.3025, allocations: 335.5 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.3025, allocations: 51.41 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.3026, allocations: 160.5 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.3027, allocations: 29.7 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.3028, allocations: 116.2 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.3028, allocations: 55.19 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.3029, allocations: 49.64 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.303, allocations: 326.8 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.3034, allocations: 103.9 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.3037, allocations: 117.7 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/0.3044, allocations: 195.1 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3044, allocations: 0 / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007849/0.3052, allocations: 279.5 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3052, allocations: 4 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3052, allocations: 0 / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3053, allocations: 7.938 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.3057, allocations: 59.83 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.3057, allocations: 0 / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.306, allocations: 31.83 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.306, allocations: 7.984 kB / 1.063 GB, free: 13.66 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.0001187/0.3061, allocations: 127.4 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.3062, allocations: 15.81 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008271/0.307, allocations: 266.6 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.307, allocations: 11.92 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3071, allocations: 0 / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3071, allocations: 0 / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.3089, allocations: 1.073 MB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3089, allocations: 3.938 kB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.3092, allocations: 47.95 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3092, allocations: 4 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.3092, allocations: 4 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.3093, allocations: 4 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3093, allocations: 0 / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007717/0.31, allocations: 349 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.3101, allocations: 92.86 kB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.3101, allocations: 4 kB / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.3105, allocations: 19.97 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.3106, allocations: 27.86 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.3106, allocations: 8 kB / 1.065 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.393e-05/0.3107, allocations: 122.5 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3107, allocations: 0 / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004764/0.3112, allocations: 127.9 kB / 1.065 GB, free: 11.18 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.0004904/0.3117, allocations: 234.9 kB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008014/0.3125, allocations: 238.3 kB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3125, allocations: 0 / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.3128, allocations: 115.9 kB / 1.065 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.3133, allocations: 48.03 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.3149, allocations: 476.4 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.3152, allocations: 0.7047 MB / 1.067 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002159/0.3154, allocations: 36.67 kB / 1.067 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.596e-05/0.3155, allocations: 19.42 kB / 1.067 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3155, allocations: 0 / 1.067 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of Templates: time 0.008272/0.3238, allocations: 4.522 MB / 1.071 GB, free: 4.793 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches