Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005518/0.005518, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001154/0.001154, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.172/2.172, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.89 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8167/0.8179, allocations: 140.4 MB / 1.088 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003071/0.8211, allocations: 2.039 MB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.8234, allocations: 1.671 MB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.043e-05/0.8235, allocations: 2.312 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.183e-05/0.8236, allocations: 20 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.8238, allocations: 48.22 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.8249, allocations: 351.7 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.8252, allocations: 236 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.8254, allocations: 53.98 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.8255, allocations: 86.61 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.8257, allocations: 90.95 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.8257, allocations: 19.56 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009259/0.8266, allocations: 419.2 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.8267, allocations: 39.2 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.8268, allocations: 99.06 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007548/0.8276, allocations: 439 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.8276, allocations: 0.875 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8276, allocations: 0 / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.8276, allocations: 0.7969 kB / 1.093 GB, free: 2.359 MB / 0.8575 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.0009547/0.8286, allocations: 0.5323 MB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.8286, allocations: 10.19 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.8298, allocations: 136.6 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.83, allocations: 186 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-05/0.83, allocations: 50.64 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.8301, allocations: 19.28 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/0.8307, allocations: 214.2 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.8307, allocations: 5.062 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.8308, allocations: 5.062 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.8308, allocations: 3.812 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007889/0.8316, allocations: 236.7 kB / 1.095 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.833, allocations: 0.9594 MB / 1.096 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.8335, allocations: 182.5 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.8339, allocations: 109 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006034/0.8345, allocations: 0.5236 MB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.8346, allocations: 36.55 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.8346, allocations: 5.094 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.001284/0.8359, allocations: 333 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.8359, allocations: 53.03 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.8361, allocations: 154.1 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.8361, allocations: 35.8 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/0.8362, allocations: 126.9 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.8363, allocations: 47.02 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.443e-05/0.8364, allocations: 40.08 kB / 1.097 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8365, allocations: 326.4 kB / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.8369, allocations: 115.8 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.8373, allocations: 122.1 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007268/0.8381, allocations: 198.1 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8381, allocations: 0.9062 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000886/0.839, allocations: 275.5 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.839, allocations: 6.25 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.839, allocations: 0 / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.839, allocations: 9.75 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.8394, allocations: 54.23 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.8394, allocations: 2.672 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.8397, allocations: 36.48 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.8398, allocations: 9.797 kB / 1.098 GB, free: 14.68 MB / 0.8731 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.0001284/0.8399, allocations: 124.6 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.84, allocations: 11.2 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008985/0.8409, allocations: 268.5 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.8409, allocations: 9.109 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8409, allocations: 1.344 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.8409, allocations: 1.734 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.8429, allocations: 1.067 MB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8429, allocations: 3.938 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.8432, allocations: 43.09 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.8432, allocations: 2.094 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.8433, allocations: 3.469 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.8433, allocations: 1.406 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8433, allocations: 9.844 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/0.8441, allocations: 345 kB / 1.1 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.8442, allocations: 98.42 kB / 1.1 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.8443, allocations: 3.547 kB / 1.1 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.8446, allocations: 27.8 kB / 1.1 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.8447, allocations: 14.39 kB / 1.1 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.8447, allocations: 9.375 kB / 1.1 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.873e-05/0.8448, allocations: 119.7 kB / 1.1 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8448, allocations: 0 / 1.1 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006184/0.8454, allocations: 134 kB / 1.101 GB, free: 13.01 MB / 0.8731 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.000519/0.8459, allocations: 228.2 kB / 1.101 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008609/0.8468, allocations: 230.6 kB / 1.101 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.8468, allocations: 0.6875 kB / 1.101 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000397/0.8472, allocations: 117.6 kB / 1.101 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.8477, allocations: 46.53 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.8501, allocations: 477.2 kB / 1.102 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.8504, allocations: 0.709 MB / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002359/0.8506, allocations: 33.77 kB / 1.102 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.8508, allocations: 20.77 kB / 1.102 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of SimCode: time 1.944e-06/0.8508, allocations: 0 / 1.102 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.009853/0.8606, allocations: 4.561 MB / 1.107 GB, free: 11.42 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches