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 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_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.007706/0.007706, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001786/0.001786, allocations: 202 kB / 16.68 MB, free: 5.969 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 472.6 MB / 0.7453 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 75.77 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2881, allocations: 159.9 MB / 1.226 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003152/0.2913, allocations: 2.041 MB / 1.228 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002362/0.2937, allocations: 1.667 MB / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.2938, allocations: 4 kB / 1.229 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.878e-05/0.2939, allocations: 15.8 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.294, allocations: 51.55 kB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009062/0.2949, allocations: 361.9 kB / 1.23 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.2951, allocations: 231 kB / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.2953, allocations: 53.52 kB / 1.23 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.418e-05/0.2954, allocations: 87.77 kB / 1.23 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.2955, allocations: 87.67 kB / 1.23 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.2956, allocations: 20 kB / 1.23 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008008/0.2964, allocations: 419.5 kB / 1.231 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.2964, allocations: 43.91 kB / 1.231 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.521e-05/0.2965, allocations: 87.66 kB / 1.231 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.2971, allocations: 442.5 kB / 1.231 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2971, allocations: 4 kB / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2971, allocations: 0 / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.2971, allocations: 0 / 1.231 GB, free: 3.566 MB / 0.9825 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.000787/0.2979, allocations: 0.5412 MB / 1.232 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2979, allocations: 12.03 kB / 1.232 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.299, allocations: 136.7 kB / 1.232 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.2992, allocations: 176.2 kB / 1.232 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/0.2992, allocations: 50.25 kB / 1.232 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.2993, allocations: 16.38 kB / 1.232 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.2998, allocations: 215.7 kB / 1.232 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2999, allocations: 3.938 kB / 1.232 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.2999, allocations: 8 kB / 1.232 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.2999, allocations: 4 kB / 1.232 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.3007, allocations: 243.2 kB / 1.232 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.3021, allocations: 0.9588 MB / 1.233 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.3026, allocations: 194.5 kB / 1.234 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.303, allocations: 112.8 kB / 1.234 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005979/0.3036, allocations: 0.5181 MB / 1.234 GB, free: 52 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3036, allocations: 34.56 kB / 1.234 GB, free: 8 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.3036, allocations: 0 / 1.234 GB, free: 8 kB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.001173/0.3048, allocations: 328.8 kB / 1.235 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.3048, allocations: 55.41 kB / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.305, allocations: 165.3 kB / 1.235 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.305, allocations: 33.7 kB / 1.235 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.3051, allocations: 120.3 kB / 1.235 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.3052, allocations: 59.48 kB / 1.235 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.542e-05/0.3053, allocations: 37.7 kB / 1.235 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3054, allocations: 322.8 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.3057, allocations: 107.9 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.3061, allocations: 131.1 kB / 1.236 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/0.3068, allocations: 195.5 kB / 1.236 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3068, allocations: 0 / 1.236 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007945/0.3076, allocations: 269.4 kB / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3076, allocations: 4 kB / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3076, allocations: 0 / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3076, allocations: 0 / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.308, allocations: 63.86 kB / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.308, allocations: 4 kB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.3083, allocations: 27.86 kB / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.3084, allocations: 12 kB / 1.236 GB, free: 14.04 MB / 0.9981 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.0001071/0.3085, allocations: 122.4 kB / 1.236 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.3085, allocations: 15.91 kB / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008314/0.3094, allocations: 270.6 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.3094, allocations: 3.938 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3094, allocations: 4 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3094, allocations: 0 / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.3111, allocations: 1.07 MB / 1.237 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.3112, allocations: 11.94 kB / 1.238 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.3115, allocations: 43.91 kB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3115, allocations: 0 / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3115, allocations: 4 kB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.3115, allocations: 0 / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.3115, allocations: 4 kB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008162/0.3124, allocations: 349 kB / 1.238 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.3124, allocations: 92.94 kB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.3125, allocations: 15.88 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.3128, allocations: 23.97 kB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.3128, allocations: 15.98 kB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.3129, allocations: 7.984 kB / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.757e-05/0.3129, allocations: 114.1 kB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.313, allocations: 0 / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004607/0.3134, allocations: 143.5 kB / 1.238 GB, free: 11.55 MB / 0.9981 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.0004163/0.3138, allocations: 226.7 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007869/0.3146, allocations: 232.1 kB / 1.239 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.3147, allocations: 4 kB / 1.239 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.315, allocations: 111.8 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.3155, allocations: 57.89 kB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.317, allocations: 432.3 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.3173, allocations: 0.7124 MB / 1.24 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.3174, allocations: 32.05 kB / 1.24 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/0.3175, allocations: 27.42 kB / 1.24 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.3175, allocations: 0 / 1.24 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of Templates: time 0.007673/0.3252, allocations: 4.558 MB / 1.245 GB, free: 5.18 MB / 0.9981 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