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.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001471/0.001471, allocations: 192.8 kB / 16.14 MB, free: 6.711 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.466/1.466, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.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.776/2.776, allocations: 437 MB / 0.7099 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 75.83 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6193/0.6212, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00363/0.6249, allocations: 2.114 MB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.6276, allocations: 1.738 MB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.438e-05/0.6277, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.144e-05/0.6278, allocations: 19.84 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.6279, allocations: 43.61 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008355/0.6288, allocations: 299.2 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.629, allocations: 219.1 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.6292, allocations: 41.52 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.6293, allocations: 75.78 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.6295, allocations: 91.64 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.6295, allocations: 20 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007901/0.6303, allocations: 383.5 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.6304, allocations: 39.89 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.6305, allocations: 87.58 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000637/0.6311, allocations: 428.9 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6311, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6311, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.6312, allocations: 4 kB / 1.022 GB, free: 13.15 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.0009562/0.6321, allocations: 0.5186 MB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.6322, allocations: 12.03 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.6334, allocations: 136.6 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.6336, allocations: 184.1 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.935e-05/0.6337, allocations: 50.25 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.6337, allocations: 16.38 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/0.6344, allocations: 213.9 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.6344, allocations: 3.938 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.6344, allocations: 7.984 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.6344, allocations: 7.938 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007906/0.6352, allocations: 235.9 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.6369, allocations: 0.9584 MB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/0.6374, allocations: 190.5 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/0.6378, allocations: 117.1 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007761/0.6386, allocations: 0.5259 MB / 1.025 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.6387, allocations: 34.5 kB / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.6387, allocations: 0 / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001245/0.6399, allocations: 325.4 kB / 1.025 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.64, allocations: 59.34 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.6402, allocations: 164.5 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.6402, allocations: 25.7 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.6403, allocations: 116.2 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.6404, allocations: 63.17 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.6405, allocations: 45.64 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6406, allocations: 322.8 kB / 1.026 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.641, allocations: 103.9 kB / 1.026 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.6414, allocations: 121.7 kB / 1.026 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007302/0.6422, allocations: 196.1 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6422, allocations: 4 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008334/0.643, allocations: 273.3 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.643, allocations: 4 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.6431, allocations: 0 / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.6431, allocations: 4 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.6435, allocations: 59.83 kB / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.6435, allocations: 0 / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.6438, allocations: 35.81 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.6438, allocations: 4 kB / 1.027 GB, free: 7.656 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 (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.0001349/0.644, allocations: 121.8 kB / 1.027 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.644, allocations: 19.75 kB / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008766/0.6449, allocations: 269.2 kB / 1.027 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.6449, allocations: 3.938 kB / 1.027 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6449, allocations: 4 kB / 1.027 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6449, allocations: 0 / 1.027 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.6469, allocations: 1.073 MB / 1.028 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.647, allocations: 3.938 kB / 1.028 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.6473, allocations: 43.97 kB / 1.029 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.6473, allocations: 4 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.6474, allocations: 4 kB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.6474, allocations: 4 kB / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6474, allocations: 0 / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008329/0.6482, allocations: 348.9 kB / 1.029 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.6483, allocations: 96.8 kB / 1.029 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.6483, allocations: 4 kB / 1.029 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.6487, allocations: 23.97 kB / 1.029 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.6487, allocations: 15.98 kB / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.6488, allocations: 11.98 kB / 1.029 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001076/0.6489, allocations: 121.4 kB / 1.029 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6489, allocations: 3.938 kB / 1.029 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004931/0.6494, allocations: 131.8 kB / 1.029 GB, free: 5.164 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 (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.0004847/0.6499, allocations: 219.6 kB / 1.029 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008428/0.6507, allocations: 227.8 kB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6507, allocations: 4 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.6511, allocations: 115.9 kB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.6516, allocations: 44.03 kB / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.6538, allocations: 0.5228 MB / 1.03 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.6542, allocations: 0.7167 MB / 1.031 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002142/0.6544, allocations: 33.47 kB / 1.031 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.699e-05/0.6545, allocations: 19.44 kB / 1.031 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6545, allocations: 0 / 1.031 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of Templates: time 0.008894/0.6634, allocations: 4.404 MB / 1.035 GB, free: 14.85 MB / 0.795 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=400 -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/jenkins/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