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.00156/0.00156, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001857/0.001857, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.348/2.348, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6231/0.6244, allocations: 140.3 MB / 0.9491 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002805/0.6273, allocations: 2.099 MB / 0.9511 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.6291, allocations: 1.651 MB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.6292, allocations: 1.5 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.903e-05/0.6293, allocations: 14.55 kB / 0.9528 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.276e-05/0.6294, allocations: 44.67 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008024/0.6302, allocations: 322.8 kB / 0.9531 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.6304, allocations: 234.2 kB / 0.9533 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.6305, allocations: 53.62 kB / 0.9534 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.861e-05/0.6306, allocations: 81.89 kB / 0.9535 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.6307, allocations: 89.14 kB / 0.9536 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.6308, allocations: 19.47 kB / 0.9536 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006513/0.6314, allocations: 415.2 kB / 0.954 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.6315, allocations: 49.45 kB / 0.954 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.582e-05/0.6316, allocations: 93.06 kB / 0.9541 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004931/0.6321, allocations: 440.5 kB / 0.9545 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6321, allocations: 0 / 0.9545 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6321, allocations: 1.25 kB / 0.9545 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.6321, allocations: 0 / 0.9545 GB, free: 5.391 MB / 0.7169 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.0007475/0.6328, allocations: 0.5208 MB / 0.955 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.6329, allocations: 9.188 kB / 0.955 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.634, allocations: 137.2 kB / 0.9552 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.559e-05/0.6341, allocations: 197.4 kB / 0.9554 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.75e-05/0.6342, allocations: 50.53 kB / 0.9554 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.6342, allocations: 19.3 kB / 0.9554 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005345/0.6348, allocations: 210 kB / 0.9556 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.6348, allocations: 9.25 kB / 0.9556 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.6348, allocations: 9.344 kB / 0.9557 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.6349, allocations: 4 kB / 0.9557 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.6356, allocations: 239.3 kB / 0.9559 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.6368, allocations: 0.952 MB / 0.9568 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.6373, allocations: 186.9 kB / 0.957 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.6376, allocations: 110 kB / 0.9571 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005187/0.6381, allocations: 0.5253 MB / 0.9576 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.6381, allocations: 39.66 kB / 0.9576 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.6381, allocations: 0 / 0.9576 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001101/0.6392, allocations: 325.1 kB / 0.958 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.6393, allocations: 58.16 kB / 0.958 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.6394, allocations: 162.4 kB / 0.9582 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.6394, allocations: 31.08 kB / 0.9582 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.6395, allocations: 121.6 kB / 0.9583 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.6395, allocations: 58.06 kB / 0.9584 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.6396, allocations: 39.45 kB / 0.9584 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.6397, allocations: 327 kB / 0.9587 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.64, allocations: 102.8 kB / 0.9588 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.6404, allocations: 119.4 kB / 0.9589 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000616/0.641, allocations: 197.6 kB / 0.9591 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.641, allocations: 0 / 0.9591 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007479/0.6417, allocations: 272.5 kB / 0.9594 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6418, allocations: 5.625 kB / 0.9594 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6418, allocations: 1.031 kB / 0.9594 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6418, allocations: 0.875 kB / 0.9594 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.6422, allocations: 64.61 kB / 0.9594 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6422, allocations: 1.125 kB / 0.9594 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.6425, allocations: 30.42 kB / 0.9595 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.6425, allocations: 8.984 kB / 0.9595 GB, free: 1.223 MB / 0.7169 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 8.957e-05/0.6426, allocations: 123.9 kB / 0.9596 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.6427, allocations: 11.56 kB / 0.9596 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008/0.6435, allocations: 268.2 kB / 0.9599 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.6435, allocations: 10.28 kB / 0.9599 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6435, allocations: 0 / 0.9599 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6435, allocations: 4.859 kB / 0.9599 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.6451, allocations: 1.062 MB / 0.9609 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6451, allocations: 7.875 kB / 0.9609 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.6455, allocations: 53.92 kB / 0.961 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.6455, allocations: 2.125 kB / 0.961 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.6455, allocations: 1.719 kB / 0.961 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.6455, allocations: 1.125 kB / 0.961 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6455, allocations: 1.094 kB / 0.961 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/0.6463, allocations: 349.2 kB / 0.9613 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.6464, allocations: 96.77 kB / 0.9614 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.6464, allocations: 6.688 kB / 0.9614 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.6468, allocations: 28.44 kB / 0.9614 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.6468, allocations: 14.14 kB / 0.9615 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.6469, allocations: 4.062 kB / 0.9615 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.408e-05/0.647, allocations: 123.5 kB / 0.9616 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.647, allocations: 0 / 0.9616 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000547/0.6475, allocations: 130.5 kB / 0.9617 GB, free: 15.34 MB / 0.7325 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.0004549/0.648, allocations: 225.9 kB / 0.9619 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007863/0.6488, allocations: 243.3 kB / 0.9622 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6488, allocations: 3.938 kB / 0.9622 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.6491, allocations: 110 kB / 0.9623 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.6496, allocations: 57.22 kB / 0.9623 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.6518, allocations: 0.5137 MB / 0.9628 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.6521, allocations: 0.7187 MB / 0.9635 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.6523, allocations: 30.86 kB / 0.9635 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.6524, allocations: 23.09 kB / 0.9636 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.6524, allocations: 4 kB / 0.9636 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.008503/0.6609, allocations: 4.518 MB / 0.968 GB, free: 11.62 MB / 0.7325 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