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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.42/2.42, allocations: 390.3 MB / 402.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.806/1.806, allocations: 221.3 MB / 0.7915 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 107.1 kB / 0.9318 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.913e-05/4.941e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.308, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.333, allocations: 156.7 MB / 1.372 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.333, allocations: 84.44 kB / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02578/1.359, allocations: 8.272 MB / 1.38 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.894e-06/1.359, allocations: 0 / 1.38 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.038e-05/1.359, allocations: 4 kB / 1.38 GB, free: 6.191 MB / 0.8386 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.0008601/1.36, allocations: 0.4927 MB / 1.38 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.36, allocations: 16.03 kB / 1.38 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/1.361, allocations: 143.6 kB / 1.381 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/1.362, allocations: 178.4 kB / 1.381 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.959e-05/1.362, allocations: 45.56 kB / 1.381 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/1.362, allocations: 18.88 kB / 1.381 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/1.362, allocations: 180 kB / 1.381 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.362, allocations: 0 / 1.381 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/1.362, allocations: 10.23 kB / 1.381 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.362, allocations: 7.953 kB / 1.381 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/1.362, allocations: 179.6 kB / 1.381 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/1.364, allocations: 0.986 MB / 1.382 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/1.364, allocations: 151.8 kB / 1.382 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/1.364, allocations: 85.36 kB / 1.382 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007036/1.365, allocations: 0.5209 MB / 1.383 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/1.365, allocations: 38.5 kB / 1.383 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/1.365, allocations: 0 / 1.383 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004019/1.366, allocations: 174.5 kB / 1.383 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/1.366, allocations: 51.41 kB / 1.383 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/1.366, allocations: 150.7 kB / 1.383 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/1.366, allocations: 33.02 kB / 1.383 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/1.366, allocations: 113.4 kB / 1.383 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/1.366, allocations: 54.39 kB / 1.383 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/1.366, allocations: 3.375 kB / 1.383 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.366, allocations: 329.3 kB / 1.384 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/1.366, allocations: 72.81 kB / 1.384 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/1.366, allocations: 97.77 kB / 1.384 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/1.367, allocations: 66.53 kB / 1.384 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.367, allocations: 0 / 1.384 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000347/1.367, allocations: 211.9 kB / 1.384 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/1.367, allocations: 11.89 kB / 1.384 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.367, allocations: 8.031 kB / 1.384 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.367, allocations: 0 / 1.384 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/1.367, allocations: 51.95 kB / 1.384 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.367, allocations: 0 / 1.384 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/1.368, allocations: 39.42 kB / 1.384 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/1.368, allocations: 8 kB / 1.384 GB, free: 1.926 MB / 0.8386 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 () * 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 9.834e-05/1.368, allocations: 115.9 kB / 1.384 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/1.368, allocations: 11.91 kB / 1.384 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/1.368, allocations: 211.8 kB / 1.385 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/1.368, allocations: 4 kB / 1.385 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.368, allocations: 0 / 1.385 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.368, allocations: 0 / 1.385 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/1.37, allocations: 1.013 MB / 1.386 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.37, allocations: 4.062 kB / 1.386 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/1.37, allocations: 39.97 kB / 1.386 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/1.37, allocations: 4 kB / 1.386 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/1.37, allocations: 0 / 1.386 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/1.37, allocations: 3.984 kB / 1.386 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.37, allocations: 4 kB / 1.386 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/1.371, allocations: 323.5 kB / 1.386 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/1.371, allocations: 96.3 kB / 1.386 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/1.371, allocations: 7.484 kB / 1.386 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/1.371, allocations: 23.98 kB / 1.386 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/1.371, allocations: 15.28 kB / 1.386 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/1.371, allocations: 8 kB / 1.386 GB, free: 84 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000126/1.371, allocations: 120.4 kB / 1.386 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3e-07/1.371, allocations: 0 / 1.386 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005527/1.372, allocations: 143.1 kB / 1.386 GB, free: 15.85 MB / 0.8542 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) * 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.0004817/1.372, allocations: 241.5 kB / 1.387 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003282/1.373, allocations: 174.2 kB / 1.387 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.373, allocations: 0 / 1.387 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/1.373, allocations: 87.31 kB / 1.387 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/1.373, allocations: 38.72 kB / 1.387 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/1.375, allocations: 342 kB / 1.387 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/1.375, allocations: 0.7168 MB / 1.388 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002093/1.375, allocations: 29.27 kB / 1.388 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/1.376, allocations: 23.42 kB / 1.388 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/1.376, allocations: 0 / 1.388 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of Templates: time 0.008108/1.384, allocations: 4.098 MB / 1.392 GB, free: 10.25 MB / 0.8542 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