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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001142/0.001142, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 11.98 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7116/0.712, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002115/0.7142, allocations: 1.746 MB / 0.9574 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.7165, allocations: 1.712 MB / 0.9591 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.7166, allocations: 1.812 kB / 0.9591 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.115e-05/0.7166, allocations: 13.69 kB / 0.9591 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.7167, allocations: 45.06 kB / 0.9591 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008106/0.7175, allocations: 296.1 kB / 0.9594 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.7178, allocations: 224.5 kB / 0.9596 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.7179, allocations: 47.39 kB / 0.9597 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.578e-05/0.718, allocations: 64.97 kB / 0.9597 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.7181, allocations: 90.56 kB / 0.9598 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.7182, allocations: 13.72 kB / 0.9598 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007522/0.7189, allocations: 380.8 kB / 0.9602 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.719, allocations: 41.3 kB / 0.9602 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.096e-05/0.7191, allocations: 106.1 kB / 0.9603 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.7195, allocations: 321.5 kB / 0.9607 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.7195, allocations: 0 / 0.9607 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.165e-06/0.7195, allocations: 5.312 kB / 0.9607 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.7195, allocations: 0 / 0.9607 GB, free: 4.012 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.0007375/0.7202, allocations: 0.4895 MB / 0.9611 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.7203, allocations: 8.25 kB / 0.9611 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.7214, allocations: 154 kB / 0.9613 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.299e-05/0.7215, allocations: 180.3 kB / 0.9615 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.173e-05/0.7216, allocations: 47.12 kB / 0.9615 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.7217, allocations: 18.84 kB / 0.9615 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.7222, allocations: 216.6 kB / 0.9617 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.7223, allocations: 5.094 kB / 0.9617 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.7223, allocations: 5.062 kB / 0.9617 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.7223, allocations: 4.469 kB / 0.9617 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007278/0.723, allocations: 242.3 kB / 0.962 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.7243, allocations: 0.9673 MB / 0.9629 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.7248, allocations: 192.7 kB / 0.9631 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.7252, allocations: 115 kB / 0.9632 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005266/0.7257, allocations: 0.5205 MB / 0.9637 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.7257, allocations: 39.94 kB / 0.9638 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.7257, allocations: 0 / 0.9638 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001175/0.7269, allocations: 328.9 kB / 0.9641 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.727, allocations: 53.41 kB / 0.9641 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.7271, allocations: 162.9 kB / 0.9643 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.7271, allocations: 31.27 kB / 0.9643 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.7272, allocations: 126.6 kB / 0.9644 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.7272, allocations: 53.47 kB / 0.9645 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.7273, allocations: 23.5 kB / 0.9645 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.7273, allocations: 321.6 kB / 0.9648 GB, free: 300 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.7277, allocations: 110.7 kB / 0.9649 GB, free: 244 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.7281, allocations: 129.3 kB / 0.965 GB, free: 168 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006508/0.7287, allocations: 197 kB / 0.9652 GB, free: 68 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7287, allocations: 0 / 0.9652 GB, free: 68 kB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008505/0.7296, allocations: 275.9 kB / 0.9655 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.7296, allocations: 7.25 kB / 0.9655 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7296, allocations: 0 / 0.9655 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.7297, allocations: 6.172 kB / 0.9655 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.7301, allocations: 53.41 kB / 0.9656 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.7301, allocations: 8.875 kB / 0.9656 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.7304, allocations: 35.06 kB / 0.9656 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.7304, allocations: 9.125 kB / 0.9656 GB, free: 15.87 MB / 0.7325 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.0001319/0.7306, allocations: 121.8 kB / 0.9657 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.7306, allocations: 13.41 kB / 0.9657 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008575/0.7315, allocations: 274.8 kB / 0.966 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.7315, allocations: 2.125 kB / 0.966 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.7315, allocations: 3.938 kB / 0.966 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.7315, allocations: 3.984 kB / 0.966 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.7334, allocations: 1.073 MB / 0.9671 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.7334, allocations: 0.9688 kB / 0.9671 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003224/0.7338, allocations: 50.66 kB / 0.9671 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7338, allocations: 1.344 kB / 0.9671 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.7338, allocations: 10.3 kB / 0.9671 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.7338, allocations: 1.469 kB / 0.9671 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7338, allocations: 0.9688 kB / 0.9671 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.7347, allocations: 351.4 kB / 0.9675 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.7348, allocations: 101.2 kB / 0.9675 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.7348, allocations: 2.844 kB / 0.9676 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.7351, allocations: 30.16 kB / 0.9676 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.7352, allocations: 13.17 kB / 0.9676 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.7352, allocations: 8.969 kB / 0.9676 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.965e-05/0.7353, allocations: 122.3 kB / 0.9677 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7353, allocations: 0 / 0.9677 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005228/0.7359, allocations: 130.2 kB / 0.9678 GB, free: 13.99 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.0004469/0.7363, allocations: 221.4 kB / 0.9681 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008085/0.7371, allocations: 236.6 kB / 0.9683 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.7371, allocations: 1.281 kB / 0.9683 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.7375, allocations: 118.3 kB / 0.9684 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.738, allocations: 46.58 kB / 0.9684 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.7402, allocations: 0.5795 MB / 0.969 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.7406, allocations: 0.7076 MB / 0.9697 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.7407, allocations: 28.3 kB / 0.9697 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of SimCode: time 1.903e-06/0.7407, allocations: 0 / 0.9697 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.007278/0.748, allocations: 4.121 MB / 0.9737 GB, free: 10.42 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/jenkins1/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