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.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_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.0011/0.0011, allocations: 99.03 kB / 16.02 MB, free: 76 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.001344/0.001344, allocations: 184.6 kB / 16.92 MB, free: 6.895 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.69/2.69, allocations: 462.6 MB / 0.737 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 7.969 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3663, allocations: 159.6 MB / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.002351/0.3687, allocations: 1.744 MB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002454/0.3711, allocations: 1.722 MB / 1.063 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.3712, allocations: 4 kB / 1.063 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.923e-05/0.3712, allocations: 15.91 kB / 1.063 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.3714, allocations: 47.61 kB / 1.063 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008138/0.3722, allocations: 287.2 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00022/0.3724, allocations: 215.1 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3726, allocations: 57.42 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.694e-05/0.3727, allocations: 71.77 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.3728, allocations: 87.67 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.3729, allocations: 8 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007171/0.3736, allocations: 395.4 kB / 1.064 GB, free: 400 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.3736, allocations: 31.89 kB / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3737, allocations: 113.3 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.3741, allocations: 315.5 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3741, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3742, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.3742, allocations: 0 / 1.064 GB, free: 15.93 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.0008568/0.375, allocations: 0.4914 MB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3751, allocations: 11.97 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.3762, allocations: 152.6 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.3764, allocations: 180.1 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.837e-05/0.3765, allocations: 54.25 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.3765, allocations: 12.38 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.3771, allocations: 221.8 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3771, allocations: 3.938 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.3772, allocations: 4 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3772, allocations: 4 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007428/0.3779, allocations: 239.8 kB / 1.066 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.3794, allocations: 0.9623 MB / 1.067 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.3799, allocations: 186.5 kB / 1.067 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.3803, allocations: 116.8 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006516/0.3809, allocations: 0.5142 MB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.381, allocations: 34.56 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 3.026e-06/0.381, allocations: 7.984 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001171/0.3822, allocations: 335.9 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.3822, allocations: 55.41 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3824, allocations: 163.8 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3824, allocations: 29.64 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.3825, allocations: 120.2 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.3826, allocations: 55.19 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.3826, allocations: 29.64 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3827, allocations: 322.8 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.3831, allocations: 111.9 kB / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.3835, allocations: 127 kB / 1.069 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000661/0.3841, allocations: 196.1 kB / 1.069 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3841, allocations: 0 / 1.069 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007803/0.3849, allocations: 277.4 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.385, allocations: 4 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.385, allocations: 3.984 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.385, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.3854, allocations: 59.89 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.3854, allocations: 3.938 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.3857, allocations: 39.73 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.3857, allocations: 8 kB / 1.069 GB, free: 10.44 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.0001247/0.3858, allocations: 125.8 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.3859, allocations: 11.91 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008329/0.3867, allocations: 270.6 kB / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3867, allocations: 4 kB / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3868, allocations: 3.938 kB / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3868, allocations: 0 / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.3885, allocations: 1.081 MB / 1.071 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3885, allocations: 0 / 1.071 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.3889, allocations: 59.89 kB / 1.071 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3889, allocations: 0 / 1.071 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.3889, allocations: 4 kB / 1.071 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3889, allocations: 0 / 1.071 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3889, allocations: 0 / 1.071 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007749/0.3897, allocations: 359.6 kB / 1.071 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.3897, allocations: 92.95 kB / 1.071 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.3898, allocations: 4 kB / 1.071 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.3901, allocations: 27.97 kB / 1.071 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.3902, allocations: 15.92 kB / 1.071 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.3902, allocations: 11.98 kB / 1.071 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.124e-05/0.3903, allocations: 118.1 kB / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3903, allocations: 3.938 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005044/0.3908, allocations: 135.8 kB / 1.071 GB, free: 7.93 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.0004152/0.3912, allocations: 219 kB / 1.072 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007755/0.392, allocations: 237.7 kB / 1.072 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.392, allocations: 4.062 kB / 1.072 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003416/0.3924, allocations: 115.8 kB / 1.072 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.3928, allocations: 44.03 kB / 1.072 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.3944, allocations: 0.5148 MB / 1.073 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.3947, allocations: 0.7205 MB / 1.073 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.3948, allocations: 23.42 kB / 1.073 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of SimCode: time 1.513e-06/0.3948, allocations: 0 / 1.073 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of Templates: time 0.007591/0.4024, allocations: 4.132 MB / 1.077 GB, free: 1.883 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/jenkins1/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