Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001641/0.001641, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001566/0.001566, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.562/2.562, allocations: 437.1 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 68.83 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3438, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003634/0.3475, allocations: 2.037 MB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.3502, allocations: 1.667 MB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.3503, allocations: 4 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.071e-05/0.3505, allocations: 19.78 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.3506, allocations: 51.56 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.3517, allocations: 362.8 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.352, allocations: 227.1 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.3522, allocations: 60.39 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.3523, allocations: 83.78 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.3525, allocations: 95.66 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.3525, allocations: 16 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009305/0.3534, allocations: 399.5 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.3535, allocations: 35.91 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.3536, allocations: 95.64 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006944/0.3543, allocations: 443.2 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3544, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3544, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.3544, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 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.0009676/0.3553, allocations: 0.5089 MB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3554, allocations: 16.91 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.3566, allocations: 132.6 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.3567, allocations: 184.1 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.3569, allocations: 54.25 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.3569, allocations: 24.25 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.3575, allocations: 211.4 kB / 1.025 GB, free: 3.84 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3575, allocations: 7.938 kB / 1.025 GB, free: 3.832 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.3576, allocations: 12 kB / 1.025 GB, free: 3.82 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3576, allocations: 4 kB / 1.025 GB, free: 3.816 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007876/0.3584, allocations: 231.8 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.36, allocations: 0.9739 MB / 1.026 GB, free: 2.496 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005113/0.3606, allocations: 182.6 kB / 1.026 GB, free: 2.309 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.3609, allocations: 108.8 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007577/0.3617, allocations: 0.522 MB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.3618, allocations: 38.55 kB / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.3618, allocations: 0 / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.001278/0.3631, allocations: 339.9 kB / 1.027 GB, free: 1.184 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.3631, allocations: 51.41 kB / 1.027 GB, free: 1.121 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.3633, allocations: 154.5 kB / 1.027 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.3634, allocations: 33.64 kB / 1.027 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3635, allocations: 120.2 kB / 1.027 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.3635, allocations: 59.17 kB / 1.027 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/0.3636, allocations: 41.7 kB / 1.027 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3638, allocations: 326.8 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.3642, allocations: 103.9 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.3646, allocations: 117.7 kB / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007048/0.3653, allocations: 199.5 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3653, allocations: 7.984 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008673/0.3662, allocations: 268.2 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3662, allocations: 4 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3662, allocations: 4 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3663, allocations: 7.875 kB / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.3667, allocations: 55.92 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3667, allocations: 0 / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.367, allocations: 31.83 kB / 1.028 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.367, allocations: 7.984 kB / 1.028 GB, free: 15.55 MB / 0.8106 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.0001599/0.3672, allocations: 129.8 kB / 1.028 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.3672, allocations: 15.81 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008941/0.3681, allocations: 259.2 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3682, allocations: 11.94 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3682, allocations: 0 / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3682, allocations: 0 / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.3702, allocations: 1.075 MB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.3702, allocations: 3.938 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.3706, allocations: 39.97 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3706, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.3706, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3706, allocations: 4 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3706, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008536/0.3715, allocations: 353 kB / 1.03 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.3716, allocations: 96.86 kB / 1.03 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.3716, allocations: 4 kB / 1.03 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.372, allocations: 31.97 kB / 1.03 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.372, allocations: 7.984 kB / 1.03 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.372, allocations: 4 kB / 1.03 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001044/0.3721, allocations: 125.5 kB / 1.03 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3721, allocations: 0 / 1.03 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005085/0.3727, allocations: 127.9 kB / 1.031 GB, free: 13.08 MB / 0.8106 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.0004789/0.3731, allocations: 234.9 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008696/0.374, allocations: 239.8 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.374, allocations: 0 / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.3744, allocations: 115.8 kB / 1.031 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.3749, allocations: 48.08 kB / 1.031 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.3766, allocations: 468 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.377, allocations: 0.7086 MB / 1.032 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3771, allocations: 27.42 kB / 1.032 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of SimCode: time 7.41e-07/0.3771, allocations: 0 / 1.032 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of Templates: time 0.007578/0.3847, allocations: 4.148 MB / 1.036 GB, free: 7.074 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches