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.001606/0.001606, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 472.7 MB / 0.7451 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 65.89 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2941, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003478/0.2976, allocations: 2.051 MB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002525/0.3002, allocations: 1.667 MB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.948e-05/0.3003, allocations: 4 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.614e-05/0.3004, allocations: 19.8 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.3006, allocations: 51.55 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.3017, allocations: 362.8 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.302, allocations: 227.1 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3021, allocations: 53.31 kB / 1.073 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.3023, allocations: 87.7 kB / 1.073 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.3024, allocations: 91.67 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.3025, allocations: 20 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008154/0.3033, allocations: 407.5 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.3034, allocations: 39.91 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.267e-05/0.3035, allocations: 87.66 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006521/0.3041, allocations: 439.2 kB / 1.074 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3041, allocations: 4 kB / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3042, allocations: 0 / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.3042, allocations: 0 / 1.074 GB, free: 4.77 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.0009545/0.3051, allocations: 0.5148 MB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3052, allocations: 12.03 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.3063, allocations: 136.6 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3065, allocations: 180.2 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.629e-05/0.3066, allocations: 50.25 kB / 1.075 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.3066, allocations: 20.31 kB / 1.075 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005682/0.3072, allocations: 215.7 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.3072, allocations: 3.938 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.3073, allocations: 11.94 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3073, allocations: 4 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/0.308, allocations: 235.8 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.3095, allocations: 0.9661 MB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.31, allocations: 182.5 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.3104, allocations: 112.8 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006299/0.311, allocations: 0.522 MB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.311, allocations: 38.56 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.3111, allocations: 0 / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001203/0.3123, allocations: 323.2 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.3123, allocations: 59.34 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.3125, allocations: 160.7 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.3125, allocations: 29.7 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.3126, allocations: 120.1 kB / 1.077 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.3126, allocations: 51.28 kB / 1.077 GB, free: 476 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.492e-05/0.3127, allocations: 45.61 kB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3129, allocations: 322.8 kB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.3133, allocations: 107.8 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.3136, allocations: 127.2 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.3143, allocations: 192.3 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3143, allocations: 4 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008268/0.3152, allocations: 269.4 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3152, allocations: 8 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.3152, allocations: 0 / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3152, allocations: 7.938 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.3156, allocations: 63.81 kB / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3156, allocations: 0 / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.3159, allocations: 35.73 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.316, allocations: 11.98 kB / 1.079 GB, free: 15.27 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.0001156/0.3161, allocations: 127.3 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.3161, allocations: 7.906 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00088/0.317, allocations: 268.6 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.3171, allocations: 7.938 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3171, allocations: 0 / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3171, allocations: 0 / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.3189, allocations: 1.069 MB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3189, allocations: 3.938 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.3192, allocations: 47.89 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.3192, allocations: 4.062 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3193, allocations: 4 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3193, allocations: 4 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3193, allocations: 0 / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/0.3201, allocations: 352.8 kB / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.3202, allocations: 92.95 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.3202, allocations: 4 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.3206, allocations: 23.97 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.3206, allocations: 11.98 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.3206, allocations: 4 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.803e-05/0.3207, allocations: 121.9 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3207, allocations: 4 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000464/0.3212, allocations: 131.9 kB / 1.081 GB, free: 12.8 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.0004237/0.3216, allocations: 235.5 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000811/0.3225, allocations: 238.4 kB / 1.081 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3225, allocations: 0 / 1.081 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.3228, allocations: 112.1 kB / 1.081 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.3233, allocations: 47.84 kB / 1.081 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.3256, allocations: 486.3 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3259, allocations: 0.7086 MB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002151/0.3261, allocations: 33.48 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.3262, allocations: 23.44 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3262, allocations: 0 / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.009086/0.3353, allocations: 4.529 MB / 1.087 GB, free: 6.387 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