Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001522/0.001522, allocations: 108 kB / 15.61 MB, free: 152 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.001837/0.001837, allocations: 197 kB / 16.53 MB, free: 6.664 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437 MB / 0.7103 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 55.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6545/0.6565, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003411/0.66, allocations: 2.029 MB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002429/0.6624, allocations: 1.667 MB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.167e-05/0.6626, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.991e-05/0.6627, allocations: 23.78 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.6628, allocations: 47.56 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.6639, allocations: 370.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.6642, allocations: 227.1 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.6643, allocations: 53.52 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.6645, allocations: 83.78 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.6646, allocations: 99.64 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.6647, allocations: 20 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007666/0.6654, allocations: 387.5 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.6655, allocations: 43.91 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.6656, allocations: 95.64 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006198/0.6662, allocations: 428.9 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6662, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6663, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.6663, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 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.0008502/0.6671, allocations: 0.5264 MB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.6672, allocations: 8.031 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.6683, allocations: 140.5 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.6685, allocations: 184.1 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.252e-05/0.6686, allocations: 54.25 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.6686, allocations: 12.38 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.6692, allocations: 213.9 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.6692, allocations: 7.922 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.6693, allocations: 11.94 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.6693, allocations: 7.938 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007575/0.67, allocations: 231.9 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.6715, allocations: 0.9701 MB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.672, allocations: 182.6 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.6724, allocations: 113.1 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006553/0.6731, allocations: 0.522 MB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.6731, allocations: 38.5 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.6731, allocations: 0 / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001222/0.6744, allocations: 327.5 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.6744, allocations: 55.41 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.6746, allocations: 158.4 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.6746, allocations: 33.7 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.6747, allocations: 116.1 kB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.6747, allocations: 59.2 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-05/0.6748, allocations: 37.7 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6749, allocations: 322.8 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.6753, allocations: 107.9 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.6757, allocations: 122.8 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/0.6764, allocations: 204.8 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6764, allocations: 0 / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008356/0.6772, allocations: 269.3 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.6773, allocations: 4 kB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.872e-06/0.6773, allocations: 0 / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.6773, allocations: 3.984 kB / 1.028 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.6777, allocations: 59.89 kB / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6777, allocations: 4 kB / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.678, allocations: 27.81 kB / 1.028 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.678, allocations: 15.94 kB / 1.028 GB, free: 7.422 MB / 0.7794 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.0001247/0.6782, allocations: 125.8 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.6782, allocations: 15.81 kB / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000859/0.6791, allocations: 266.6 kB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6791, allocations: 3.938 kB / 1.028 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6791, allocations: 0 / 1.028 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6791, allocations: 4 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.6809, allocations: 1.066 MB / 1.029 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.681, allocations: 12 kB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.6813, allocations: 39.97 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6813, allocations: 0 / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.6813, allocations: 4 kB / 1.029 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.6813, allocations: 0 / 1.029 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6813, allocations: 7.938 kB / 1.029 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008281/0.6822, allocations: 354.1 kB / 1.029 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.6822, allocations: 96.8 kB / 1.03 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.6823, allocations: 8 kB / 1.03 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.6827, allocations: 23.97 kB / 1.03 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.6827, allocations: 15.98 kB / 1.03 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.6827, allocations: 7.984 kB / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.5e-05/0.6828, allocations: 114.3 kB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6828, allocations: 0 / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004569/0.6833, allocations: 139.8 kB / 1.03 GB, free: 4.934 MB / 0.7794 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.0004174/0.6837, allocations: 227 kB / 1.03 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008241/0.6846, allocations: 234.2 kB / 1.03 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6846, allocations: 4.062 kB / 1.03 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.685, allocations: 115.8 kB / 1.03 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.6854, allocations: 48.02 kB / 1.03 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.687, allocations: 428.3 kB / 1.031 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.6873, allocations: 0.7164 MB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001999/0.6875, allocations: 29.17 kB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.6876, allocations: 27.42 kB / 1.032 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6876, allocations: 0 / 1.032 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of Templates: time 0.008366/0.696, allocations: 4.531 MB / 1.036 GB, free: 14.58 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches