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.0009143/0.0009143, allocations: 92.7 kB / 20.21 MB, free: 4.227 MB / 18.57 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.0009539/0.0009539, allocations: 161.3 kB / 23.52 MB, free: 0.918 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 0.9644/0.9644, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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 2.064/2.064, allocations: 428.6 MB / 0.6727 GB, free: 4.902 MB / 0.6355 GB " [Timeout remaining time 177] 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.034e-06/2.034e-06, allocations: 0 / 0.877 GB, free: 7.918 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.058e-05, allocations: 2.312 kB / 0.877 GB, free: 7.914 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002883/0.002914, allocations: 1.999 MB / 0.879 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.004935, allocations: 1.529 MB / 0.8805 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.629e-05/0.005031, allocations: 0.625 kB / 0.8805 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.296e-05/0.005094, allocations: 19.8 kB / 0.8805 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.005208, allocations: 52.8 kB / 0.8806 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.006386, allocations: 373 kB / 0.8809 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.006603, allocations: 235 kB / 0.8811 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.006742, allocations: 45.72 kB / 0.8812 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.006883, allocations: 131.8 kB / 0.8813 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.006994, allocations: 71.84 kB / 0.8814 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.007025, allocations: 20 kB / 0.8814 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007028/0.007728, allocations: 407.3 kB / 0.8818 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.346e-05/0.007782, allocations: 39.89 kB / 0.8818 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.007858, allocations: 67.89 kB / 0.8819 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000627/0.008485, allocations: 498.5 kB / 0.8824 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.008489, allocations: 0 / 0.8824 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.223e-06/0.00849, allocations: 0 / 0.8824 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.008496, allocations: 7.938 kB / 0.8824 GB, free: 2.48 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.0007305/0.009227, allocations: 461.1 kB / 0.8828 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.009276, allocations: 12.03 kB / 0.8828 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.01106, allocations: 384.3 kB / 0.8832 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.01119, allocations: 121.6 kB / 0.8833 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.0113, allocations: 79.95 kB / 0.8834 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.01134, allocations: 12.38 kB / 0.8834 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009251/0.01226, allocations: 425.2 kB / 0.8838 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.01227, allocations: 192 / 0.8838 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.0123, allocations: 8.375 kB / 0.8838 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.01231, allocations: 8.125 kB / 0.8838 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.0135, allocations: 403.3 kB / 0.8842 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.01488, allocations: 0.7942 MB / 0.885 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.01687, allocations: 0.5489 MB / 0.8855 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.01753, allocations: 236.6 kB / 0.8857 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.01765, allocations: 16 kB / 0.8858 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.01768, allocations: 38.55 kB / 0.8858 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 2.575e-06/0.01768, allocations: 3.938 kB / 0.8858 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.007049/0.02473, allocations: 1.736 MB / 0.8875 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.02477, allocations: 55.41 kB / 0.8875 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.02489, allocations: 126 kB / 0.8877 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.02493, allocations: 29.7 kB / 0.8877 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.02502, allocations: 128.3 kB / 0.8878 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.02507, allocations: 59.48 kB / 0.8879 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.612e-05/0.02516, allocations: 45.69 kB / 0.8879 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.02525, allocations: 322.8 kB / 0.8882 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/0.02591, allocations: 235.7 kB / 0.8884 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006473/0.02656, allocations: 237 kB / 0.8887 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.02773, allocations: 403.2 kB / 0.8891 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.02774, allocations: 0 / 0.8891 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.004367/0.0321, allocations: 1.122 MB / 0.8902 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.03213, allocations: 7.938 kB / 0.8902 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.03214, allocations: 0 / 0.8902 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009318/0.03307, allocations: 351.8 kB / 0.8905 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.03351, allocations: 99.84 kB / 0.8906 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.03457, allocations: 0.8488 MB / 0.8914 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.03494, allocations: 79.78 kB / 0.8915 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.03496, allocations: 7.984 kB / 0.8915 GB, free: 8.887 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.0001667/0.03513, allocations: 125.8 kB / 0.8916 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.03519, allocations: 19.91 kB / 0.8916 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.03715, allocations: 0.6803 MB / 0.8923 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.03716, allocations: 7.938 kB / 0.8923 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.03716, allocations: 3.938 kB / 0.8923 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.03717, allocations: 0 / 0.8923 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.03998, allocations: 1.107 MB / 0.8934 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.03999, allocations: 0 / 0.8934 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.0404, allocations: 95.94 kB / 0.8935 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009024/0.0413, allocations: 360.5 kB / 0.8938 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.04133, allocations: 3.984 kB / 0.8938 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009607/0.04229, allocations: 0.8371 MB / 0.8947 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.0423, allocations: 4 kB / 0.8947 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.04392, allocations: 0.6577 MB / 0.8953 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.04396, allocations: 11.95 kB / 0.8953 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.04401, allocations: 7.984 kB / 0.8953 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.04437, allocations: 63.86 kB / 0.8954 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.04442, allocations: 15.97 kB / 0.8954 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.04445, allocations: 15.98 kB / 0.8954 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.968e-05/0.04452, allocations: 103.3 kB / 0.8955 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.04452, allocations: 0 / 0.8955 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005068/0.04502, allocations: 139.5 kB / 0.8956 GB, free: 4.527 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.0004955/0.04552, allocations: 230.8 kB / 0.8959 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.04773, allocations: 0.5852 MB / 0.8964 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.04773, allocations: 0 / 0.8964 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.04899, allocations: 343.6 kB / 0.8968 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.04938, allocations: 51.95 kB / 0.8968 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005908/0.05529, allocations: 1.555 MB / 0.8983 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.562e-05/0.05539, allocations: 98.78 kB / 0.8984 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001894/0.05558, allocations: 45.53 kB / 0.8985 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.05568, allocations: 28.41 kB / 0.8985 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of SimCode: time 1.703e-06/0.05568, allocations: 0 / 0.8985 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of Templates: time 0.009879/0.06556, allocations: 7.158 MB / 0.9055 GB, free: 10.46 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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 800] 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: 5.65748549439013]