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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001226/0.001226, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001524/0.001524, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.2 MB / 239.9 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.49/2.49, allocations: 436.5 MB / 0.7104 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 15.98 kB / 0.8708 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.5702, allocations: 153.7 MB / 1.021 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001889/0.5721, allocations: 1.625 MB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.5741, allocations: 1.49 MB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.5742, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.5742, allocations: 11.91 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/0.5743, allocations: 55.86 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007333/0.5751, allocations: 263.3 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.5753, allocations: 159.7 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.5754, allocations: 37.7 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.5755, allocations: 67.84 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.5756, allocations: 83.72 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.5757, allocations: 8 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007086/0.5764, allocations: 391.5 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.5764, allocations: 31.84 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.5765, allocations: 57.64 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.5769, allocations: 317.2 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.5769, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5769, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.5769, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 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.0007413/0.5776, allocations: 0.4989 MB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.5777, allocations: 15.98 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.5788, allocations: 147.7 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.5789, allocations: 178.8 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.417e-05/0.579, allocations: 49.69 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.579, allocations: 19.95 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.5796, allocations: 217 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.5796, allocations: 3.984 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.5796, allocations: 4 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.5797, allocations: 4 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007211/0.5804, allocations: 243.8 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.5817, allocations: 0.9623 MB / 1.028 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.5822, allocations: 182.6 kB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006162/0.5829, allocations: 0.522 MB / 1.028 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.5829, allocations: 30.56 kB / 1.028 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.5829, allocations: 0 / 1.028 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001151/0.5841, allocations: 341.6 kB / 1.029 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.5841, allocations: 51.41 kB / 1.029 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.5842, allocations: 159.5 kB / 1.029 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.5843, allocations: 37.64 kB / 1.029 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.5844, allocations: 120.1 kB / 1.029 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.5844, allocations: 51.27 kB / 1.029 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/0.5844, allocations: 0 / 1.029 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5845, allocations: 330.8 kB / 1.029 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.5849, allocations: 104.3 kB / 1.029 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.5853, allocations: 131.8 kB / 1.03 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.5856, allocations: 91.91 kB / 1.03 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5856, allocations: 4 kB / 1.03 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007816/0.5864, allocations: 278.8 kB / 1.03 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5864, allocations: 4 kB / 1.03 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5864, allocations: 0 / 1.03 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5864, allocations: 4 kB / 1.03 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.5868, allocations: 47.97 kB / 1.03 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5868, allocations: 0 / 1.03 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.5871, allocations: 39.75 kB / 1.03 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.5871, allocations: 8 kB / 1.03 GB, free: 7.234 MB / 0.7794 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.5873, allocations: 129.7 kB / 1.03 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.5873, allocations: 15.81 kB / 1.03 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008235/0.5881, allocations: 273 kB / 1.03 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.5882, allocations: 11.98 kB / 1.03 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5882, allocations: 0 / 1.03 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5882, allocations: 0 / 1.03 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.5899, allocations: 1.072 MB / 1.031 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5899, allocations: 4 kB / 1.031 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.5902, allocations: 44.03 kB / 1.031 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.5903, allocations: 4 kB / 1.031 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.5903, allocations: 3.984 kB / 1.031 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.5903, allocations: 4 kB / 1.031 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5903, allocations: 3.938 kB / 1.031 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007875/0.5911, allocations: 372.4 kB / 1.032 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.5912, allocations: 92.91 kB / 1.032 GB, free: 5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.5912, allocations: 8 kB / 1.032 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.5915, allocations: 31.92 kB / 1.032 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.5916, allocations: 15.97 kB / 1.032 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.5916, allocations: 4 kB / 1.032 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.352e-05/0.5917, allocations: 116.7 kB / 1.032 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5917, allocations: 0 / 1.032 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004522/0.5921, allocations: 135.9 kB / 1.032 GB, free: 4.695 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003934/0.5925, allocations: 230.9 kB / 1.032 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007283/0.5933, allocations: 231.8 kB / 1.033 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5933, allocations: 0 / 1.033 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.5936, allocations: 116.1 kB / 1.033 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.5939, allocations: 39.97 kB / 1.033 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.596, allocations: 0.5287 MB / 1.033 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.5963, allocations: 0.7167 MB / 1.034 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.5965, allocations: 37.47 kB / 1.034 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.5965, allocations: 19.44 kB / 1.034 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.5965, allocations: 0 / 1.034 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of Templates: time 0.007403/0.604, allocations: 4.306 MB / 1.038 GB, free: 14.46 MB / 0.795 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","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches