Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.668/1.668, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.48/3.48, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.409e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.005746/0.00578, allocations: 2.084 MB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004402/0.01018, allocations: 1.647 MB / 0.8811 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.01032, allocations: 1 kB / 0.8811 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.01044, allocations: 23.8 kB / 0.8811 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.0107, allocations: 52.27 kB / 0.8812 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.01258, allocations: 360.6 kB / 0.8815 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005277/0.01311, allocations: 243 kB / 0.8817 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.01332, allocations: 30.28 kB / 0.8818 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.0137, allocations: 128.9 kB / 0.8819 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.01394, allocations: 75.83 kB / 0.882 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.915e-05/0.01401, allocations: 20 kB / 0.882 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.01545, allocations: 416.9 kB / 0.8824 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.602e-05/0.01554, allocations: 43.89 kB / 0.8824 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.01572, allocations: 75.47 kB / 0.8825 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.01717, allocations: 490.6 kB / 0.883 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.01717, allocations: 0 / 0.883 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/0.01717, allocations: 0 / 0.883 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.01718, allocations: 0 / 0.883 GB, free: 1.039 MB / 0.8386 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.001671/0.01885, allocations: 0.5539 MB / 0.8835 GB, free: 456 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.01891, allocations: 8.031 kB / 0.8835 GB, free: 448 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00372/0.02263, allocations: 251.3 kB / 0.8838 GB, free: 200 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.02302, allocations: 128.4 kB / 0.8839 GB, free: 44 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.02322, allocations: 75.95 kB / 0.8839 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.236e-05/0.02331, allocations: 24.31 kB / 0.884 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.02506, allocations: 369.3 kB / 0.8843 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.02508, allocations: 192 / 0.8843 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.02513, allocations: 4.375 kB / 0.8843 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.02515, allocations: 8.125 kB / 0.8843 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.02708, allocations: 304.2 kB / 0.8846 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.02926, allocations: 0.8716 MB / 0.8855 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/0.03163, allocations: 402.9 kB / 0.8859 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008037/0.03243, allocations: 189.8 kB / 0.886 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.03256, allocations: 27.97 kB / 0.8861 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.0326, allocations: 33.39 kB / 0.8861 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.0326, allocations: 0 / 0.8861 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.01229/0.04489, allocations: 1.331 MB / 0.8874 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.04497, allocations: 59.39 kB / 0.8875 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.04521, allocations: 193.8 kB / 0.8876 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.04527, allocations: 33.7 kB / 0.8877 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.04547, allocations: 167.1 kB / 0.8878 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.555e-05/0.04556, allocations: 63.47 kB / 0.8879 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.04573, allocations: 55.34 kB / 0.8879 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003816/0.04612, allocations: 0.5001 MB / 0.8884 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008021/0.04692, allocations: 171.9 kB / 0.8886 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007971/0.04772, allocations: 179.8 kB / 0.8888 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.04913, allocations: 289.3 kB / 0.889 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.04913, allocations: 0 / 0.889 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.007578/0.05671, allocations: 0.8647 MB / 0.8899 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.05674, allocations: 7.938 kB / 0.8899 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.05675, allocations: 0 / 0.8899 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.0582, allocations: 335.2 kB / 0.8902 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/0.05889, allocations: 75.94 kB / 0.8903 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.0609, allocations: 1.069 MB / 0.8913 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.06138, allocations: 39.88 kB / 0.8914 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.06143, allocations: 11.98 kB / 0.8914 GB, free: 8.141 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.06164, allocations: 180.4 kB / 0.8916 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-05/0.06174, allocations: 23.89 kB / 0.8916 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.06421, allocations: 0.5732 MB / 0.8921 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.06422, allocations: 0 / 0.8921 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.06423, allocations: 3.938 kB / 0.8921 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.06424, allocations: 7.984 kB / 0.8921 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.06784, allocations: 0.985 MB / 0.8931 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.06785, allocations: 0 / 0.8931 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/0.06848, allocations: 71.98 kB / 0.8932 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/0.06991, allocations: 323.3 kB / 0.8935 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.06994, allocations: 4 kB / 0.8935 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.07186, allocations: 1.077 MB / 0.8945 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.07186, allocations: 0 / 0.8945 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.07399, allocations: 0.5986 MB / 0.8951 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.07401, allocations: 7.953 kB / 0.8951 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.07407, allocations: 4 kB / 0.8951 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.07457, allocations: 31.91 kB / 0.8952 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.07462, allocations: 11.98 kB / 0.8952 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.07466, allocations: 11.98 kB / 0.8952 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001157/0.07478, allocations: 147.2 kB / 0.8953 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.07478, allocations: 0 / 0.8953 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006141/0.07539, allocations: 143.4 kB / 0.8955 GB, free: 3.816 MB / 0.8542 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005857/0.07598, allocations: 230.8 kB / 0.8957 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002968/0.07894, allocations: 456 kB / 0.8961 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.07895, allocations: 4 kB / 0.8961 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.08092, allocations: 271.4 kB / 0.8964 GB, free: 2.855 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.08135, allocations: 47.89 kB / 0.8964 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.09168, allocations: 1.096 MB / 0.8975 GB, free: 1.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.09181, allocations: 98.77 kB / 0.8976 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002582/0.09207, allocations: 41.55 kB / 0.8976 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.09222, allocations: 36.45 kB / 0.8977 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/0.09222, allocations: 0 / 0.8977 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of Templates: time 0.01512/0.1073, allocations: 7.216 MB / 0.9047 GB, free: 10.36 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.608408878091723]