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/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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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,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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 108.2 kB / 15.99 MB, free: 5.895 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.001819/0.001819, allocations: 193.4 kB / 16.91 MB, free: 5.746 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.498/1.498, allocations: 222.9 MB / 240.6 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 482.2 MB / 0.7548 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 71.14 kB / 0.9238 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3106, allocations: 162.2 MB / 1.082 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00329/0.3139, allocations: 2.093 MB / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002447/0.3164, allocations: 1.671 MB / 1.086 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.3164, allocations: 0 / 1.086 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.248e-05/0.3165, allocations: 15.91 kB / 1.086 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.967e-05/0.3166, allocations: 47.61 kB / 1.086 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008943/0.3175, allocations: 315.2 kB / 1.086 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000244/0.3178, allocations: 231.1 kB / 1.086 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3179, allocations: 49.33 kB / 1.086 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.318, allocations: 87.77 kB / 1.087 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.3182, allocations: 91.66 kB / 1.087 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.3182, allocations: 23.94 kB / 1.087 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007194/0.319, allocations: 411.5 kB / 1.087 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.319, allocations: 43.89 kB / 1.087 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.3191, allocations: 95.59 kB / 1.087 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.3195, allocations: 323.5 kB / 1.087 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3196, allocations: 4 kB / 1.087 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3196, allocations: 0 / 1.087 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.3196, allocations: 0 / 1.087 GB, free: 8.332 MB / 0.8419 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.0009075/0.3205, allocations: 0.5225 MB / 1.088 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3205, allocations: 8.031 kB / 1.088 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.3216, allocations: 136.6 kB / 1.088 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3218, allocations: 184.2 kB / 1.088 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.172e-05/0.3219, allocations: 54.27 kB / 1.088 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.3219, allocations: 12.38 kB / 1.088 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.3225, allocations: 217.8 kB / 1.089 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3225, allocations: 3.938 kB / 1.089 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.3226, allocations: 7.984 kB / 1.089 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3226, allocations: 8 kB / 1.089 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007443/0.3233, allocations: 239.8 kB / 1.089 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.3249, allocations: 0.9585 MB / 1.09 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.3254, allocations: 186.5 kB / 1.09 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.3257, allocations: 112.8 kB / 1.09 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007015/0.3265, allocations: 0.5142 MB / 1.091 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3265, allocations: 38.55 kB / 1.091 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.3265, allocations: 0 / 1.091 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.001174/0.3277, allocations: 325.7 kB / 1.091 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.3277, allocations: 55.41 kB / 1.091 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.3279, allocations: 157.1 kB / 1.091 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.328, allocations: 33.7 kB / 1.091 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3281, allocations: 120 kB / 1.091 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.3281, allocations: 59.23 kB / 1.091 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.3282, allocations: 45.59 kB / 1.091 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3284, allocations: 326.8 kB / 1.092 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.3288, allocations: 107.9 kB / 1.092 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.3291, allocations: 118.8 kB / 1.092 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006444/0.3298, allocations: 195 kB / 1.092 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3298, allocations: 0 / 1.092 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007852/0.3306, allocations: 275.6 kB / 1.092 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3306, allocations: 4 kB / 1.092 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3306, allocations: 0 / 1.092 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3306, allocations: 0 / 1.092 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.331, allocations: 59.83 kB / 1.092 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3311, allocations: 7.938 kB / 1.092 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.3313, allocations: 31.73 kB / 1.092 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.3314, allocations: 11.98 kB / 1.092 GB, free: 2.836 MB / 0.8419 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.0001341/0.3315, allocations: 125.8 kB / 1.093 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.3316, allocations: 11.91 kB / 1.093 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008599/0.3324, allocations: 269.1 kB / 1.093 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3325, allocations: 3.938 kB / 1.093 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3325, allocations: 0 / 1.093 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3325, allocations: 4 kB / 1.093 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.3344, allocations: 1.066 MB / 1.094 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3344, allocations: 12 kB / 1.094 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.3348, allocations: 43.89 kB / 1.094 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3348, allocations: 4 kB / 1.094 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.3348, allocations: 8 kB / 1.094 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3348, allocations: 0 / 1.094 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3348, allocations: 4 kB / 1.094 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008305/0.3357, allocations: 352.9 kB / 1.094 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.3357, allocations: 88.95 kB / 1.094 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.3358, allocations: 8 kB / 1.094 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.3361, allocations: 23.97 kB / 1.094 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.3362, allocations: 19.92 kB / 1.094 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.3362, allocations: 4 kB / 1.094 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001121/0.3363, allocations: 115.2 kB / 1.095 GB, free: 488 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3363, allocations: 3.938 kB / 1.095 GB, free: 484 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000495/0.3368, allocations: 135.8 kB / 1.095 GB, free: 348 kB / 0.8419 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.0004836/0.3373, allocations: 231 kB / 1.095 GB, free: 108 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008209/0.3381, allocations: 235.8 kB / 1.095 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3382, allocations: 4.062 kB / 1.095 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.3385, allocations: 111.9 kB / 1.095 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.339, allocations: 59.95 kB / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.3412, allocations: 0.5372 MB / 1.096 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.3416, allocations: 0.7164 MB / 1.096 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.3417, allocations: 23.42 kB / 1.097 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.3417, allocations: 0 / 1.097 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of Templates: time 0.006974/0.3487, allocations: 4.148 MB / 1.101 GB, free: 10.25 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches