Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,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_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008717/0.0008717, allocations: 98.8 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.001474/0.001475, allocations: 183.2 kB / 16.92 MB, free: 6.895 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.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.258 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.554/2.554, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003509, allocations: 15.94 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7364/0.7368, allocations: 142.4 MB / 0.9557 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.002112/0.7389, allocations: 1.742 MB / 0.9574 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.7413, allocations: 1.711 MB / 0.9591 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/0.7414, allocations: 1.344 kB / 0.9591 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.271e-05/0.7414, allocations: 14.16 kB / 0.9591 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.7415, allocations: 49.39 kB / 0.9591 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008957/0.7424, allocations: 299.9 kB / 0.9594 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.7427, allocations: 216.5 kB / 0.9596 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.7428, allocations: 51.56 kB / 0.9597 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.743, allocations: 69.19 kB / 0.9597 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.7431, allocations: 89.19 kB / 0.9598 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.7431, allocations: 11.66 kB / 0.9598 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007364/0.7439, allocations: 378.9 kB / 0.9602 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.7439, allocations: 42.72 kB / 0.9602 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.984e-05/0.744, allocations: 110.3 kB / 0.9604 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.7444, allocations: 317 kB / 0.9607 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7444, allocations: 0 / 0.9607 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.336e-06/0.7444, allocations: 0 / 0.9607 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.7444, allocations: 3.938 kB / 0.9607 GB, free: 4.086 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.0007725/0.7452, allocations: 0.4982 MB / 0.9611 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.7453, allocations: 8.656 kB / 0.9612 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.7464, allocations: 148.9 kB / 0.9613 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.7465, allocations: 177.6 kB / 0.9615 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.7467, allocations: 47.06 kB / 0.9615 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.7467, allocations: 18.59 kB / 0.9615 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.7473, allocations: 217.1 kB / 0.9617 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.7473, allocations: 7.922 kB / 0.9617 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.7474, allocations: 6 kB / 0.9617 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.7474, allocations: 11.91 kB / 0.9618 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007435/0.7481, allocations: 233.6 kB / 0.962 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.7494, allocations: 0.9677 MB / 0.9629 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.7499, allocations: 188.8 kB / 0.9631 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.7503, allocations: 112.1 kB / 0.9632 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/0.7509, allocations: 0.5207 MB / 0.9637 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.7509, allocations: 44.38 kB / 0.9638 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.7509, allocations: 0 / 0.9638 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00118/0.7521, allocations: 331 kB / 0.9641 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.7521, allocations: 57.53 kB / 0.9641 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.7523, allocations: 162.6 kB / 0.9643 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.7523, allocations: 27.08 kB / 0.9643 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.7524, allocations: 126.8 kB / 0.9644 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.7524, allocations: 48.97 kB / 0.9645 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.7524, allocations: 22.88 kB / 0.9645 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.7525, allocations: 326.4 kB / 0.9648 GB, free: 372 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.7529, allocations: 106.1 kB / 0.9649 GB, free: 320 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.7532, allocations: 130 kB / 0.965 GB, free: 244 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/0.7539, allocations: 196.7 kB / 0.9652 GB, free: 144 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7539, allocations: 4 kB / 0.9652 GB, free: 140 kB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008062/0.7547, allocations: 277 kB / 0.9655 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.7547, allocations: 6.031 kB / 0.9655 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.7548, allocations: 3.984 kB / 0.9655 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.7548, allocations: 2.562 kB / 0.9655 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.7552, allocations: 55.12 kB / 0.9656 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.7552, allocations: 5.406 kB / 0.9656 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.7555, allocations: 30.94 kB / 0.9656 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.7555, allocations: 9.344 kB / 0.9656 GB, free: 15.94 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.0001377/0.7557, allocations: 120.1 kB / 0.9657 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.7557, allocations: 23.03 kB / 0.9657 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008732/0.7566, allocations: 265.4 kB / 0.966 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.7566, allocations: 5.328 kB / 0.966 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.7566, allocations: 5.25 kB / 0.966 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.7567, allocations: 4 kB / 0.966 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.7585, allocations: 1.069 MB / 0.9671 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7585, allocations: 1 kB / 0.9671 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.7589, allocations: 45.81 kB / 0.9671 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.7589, allocations: 2.031 kB / 0.9671 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.7589, allocations: 10.23 kB / 0.9671 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.7589, allocations: 5.109 kB / 0.9671 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7589, allocations: 0.75 kB / 0.9671 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008681/0.7598, allocations: 358.5 kB / 0.9675 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-05/0.7599, allocations: 105.2 kB / 0.9676 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.76, allocations: 1.938 kB / 0.9676 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.7603, allocations: 30.12 kB / 0.9676 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.7604, allocations: 9.828 kB / 0.9676 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.7604, allocations: 9.188 kB / 0.9676 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001073/0.7605, allocations: 122.9 kB / 0.9677 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7605, allocations: 0 / 0.9677 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006545/0.7612, allocations: 130.3 kB / 0.9678 GB, free: 14.06 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.0005226/0.7617, allocations: 222.3 kB / 0.9681 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000854/0.7626, allocations: 236.9 kB / 0.9683 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7626, allocations: 0.8438 kB / 0.9683 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.763, allocations: 119.2 kB / 0.9684 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.7635, allocations: 50.12 kB / 0.9684 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.7653, allocations: 0.5252 MB / 0.969 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.7656, allocations: 0.711 MB / 0.9697 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.7658, allocations: 20.19 kB / 0.9697 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/0.7658, allocations: 1.281 kB / 0.9697 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of Templates: time 0.007826/0.7736, allocations: 4.129 MB / 0.9737 GB, free: 10.51 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches