Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,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") 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_10_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.001652/0.001651, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001692/0.001692, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.489/2.489, allocations: 437 MB / 0.711 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 72.66 kB / 0.8699 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3254, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003954/0.3294, allocations: 2.027 MB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002718/0.3322, allocations: 1.671 MB / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.3324, allocations: 4 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.31e-05/0.3325, allocations: 15.8 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.3327, allocations: 51.55 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.334, allocations: 366.8 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.3344, allocations: 227.1 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.3345, allocations: 49.44 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.3347, allocations: 87.78 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.3349, allocations: 95.66 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.92e-05/0.3349, allocations: 20 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009136/0.3358, allocations: 395.5 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.3359, allocations: 39.91 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.336, allocations: 91.64 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000731/0.3368, allocations: 439.1 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3368, allocations: 0 / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.015e-06/0.3368, allocations: 0 / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.3368, allocations: 11.94 kB / 1.023 GB, free: 5.09 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.00102/0.3378, allocations: 0.511 MB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3379, allocations: 12.92 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.3391, allocations: 140.6 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3393, allocations: 184.1 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.826e-05/0.3394, allocations: 50.25 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.3394, allocations: 16.38 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.34, allocations: 215.4 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.34, allocations: 7.875 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.3401, allocations: 4 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3401, allocations: 4 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007488/0.3408, allocations: 239.8 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.3426, allocations: 0.9661 MB / 1.026 GB, free: 2.539 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.3431, allocations: 182.6 kB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/0.3435, allocations: 116.8 kB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000707/0.3442, allocations: 0.522 MB / 1.026 GB, free: 1.602 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.3443, allocations: 34.5 kB / 1.026 GB, free: 1.559 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 2.635e-06/0.3443, allocations: 0 / 1.026 GB, free: 1.559 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.001256/0.3455, allocations: 331.3 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.3456, allocations: 55.41 kB / 1.027 GB, free: 1.164 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3457, allocations: 156.7 kB / 1.027 GB, free: 1.004 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.3458, allocations: 33.7 kB / 1.027 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3459, allocations: 112.2 kB / 1.027 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.346, allocations: 63.17 kB / 1.027 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3461, allocations: 45.7 kB / 1.027 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3462, allocations: 318.8 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.3466, allocations: 103.9 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.347, allocations: 130.9 kB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/0.3476, allocations: 195.4 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3477, allocations: 0 / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008182/0.3485, allocations: 276.1 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3485, allocations: 4 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3485, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3485, allocations: 4 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.3489, allocations: 59.89 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.349, allocations: 7.875 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.3493, allocations: 27.83 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.3493, allocations: 15.92 kB / 1.028 GB, free: 15.59 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.000134/0.3495, allocations: 117.8 kB / 1.028 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.3495, allocations: 15.81 kB / 1.028 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008621/0.3504, allocations: 282.5 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3504, allocations: 3.938 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3504, allocations: 0 / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3504, allocations: 4 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.3523, allocations: 1.062 MB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.3523, allocations: 3.938 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.3526, allocations: 48.02 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.3527, allocations: 4 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3527, allocations: 0 / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.3527, allocations: 7.938 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3527, allocations: 0 / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/0.3535, allocations: 348 kB / 1.03 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.3536, allocations: 92.86 kB / 1.03 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.3537, allocations: 8 kB / 1.03 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.354, allocations: 19.97 kB / 1.03 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.3541, allocations: 19.98 kB / 1.03 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.3541, allocations: 4 kB / 1.03 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.12e-05/0.3542, allocations: 117.3 kB / 1.03 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3542, allocations: 7.938 kB / 1.03 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005257/0.3547, allocations: 131.9 kB / 1.031 GB, free: 13.11 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.0005196/0.3552, allocations: 231 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008082/0.3561, allocations: 231.8 kB / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3561, allocations: 0 / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.3564, allocations: 119.9 kB / 1.031 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.3569, allocations: 57.84 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.3591, allocations: 0.5008 MB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.3595, allocations: 0.7125 MB / 1.032 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.3596, allocations: 31.42 kB / 1.032 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.3596, allocations: 0 / 1.032 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.007791/0.3674, allocations: 4.133 MB / 1.036 GB, free: 7.059 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches