Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001667/0.001667, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001803/0.001803, allocations: 166.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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.53/1.53, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.907/2.907, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.106e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00379/0.003821, allocations: 2.001 MB / 0.9834 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002895/0.006716, allocations: 1.53 MB / 0.9849 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.006792, allocations: 4 kB / 0.9849 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.312e-05/0.006865, allocations: 19.78 kB / 0.9849 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.006992, allocations: 55.48 kB / 0.9849 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.008161, allocations: 370.5 kB / 0.9853 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.008468, allocations: 235 kB / 0.9855 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.008645, allocations: 37.78 kB / 0.9856 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.008842, allocations: 123.8 kB / 0.9857 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.008995, allocations: 71.78 kB / 0.9857 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.917e-05/0.009044, allocations: 20 kB / 0.9858 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009007/0.009945, allocations: 411.3 kB / 0.9862 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.01001, allocations: 43.89 kB / 0.9862 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.01011, allocations: 75.88 kB / 0.9863 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008312/0.01094, allocations: 0.4908 MB / 0.9867 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01094, allocations: 4 kB / 0.9868 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.123e-06/0.01094, allocations: 0 / 0.9868 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.01096, allocations: 0 / 0.9868 GB, free: 6.488 MB / 0.9356 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.001029/0.01198, allocations: 461.1 kB / 0.9872 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.01203, allocations: 12.03 kB / 0.9872 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.01323, allocations: 144.6 kB / 0.9873 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.0134, allocations: 121.6 kB / 0.9875 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.01354, allocations: 83.91 kB / 0.9875 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.01358, allocations: 12.38 kB / 0.9875 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00076/0.01434, allocations: 282.8 kB / 0.9878 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.01435, allocations: 192 / 0.9878 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.01438, allocations: 4.375 kB / 0.9878 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.01439, allocations: 12.12 kB / 0.9878 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005052/0.0149, allocations: 159.9 kB / 0.988 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.01657, allocations: 0.6789 MB / 0.9887 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008083/0.01738, allocations: 178.5 kB / 0.9888 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/0.0178, allocations: 116.8 kB / 0.9889 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004943/0.01829, allocations: 67.92 kB / 0.989 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.01834, allocations: 42.56 kB / 0.989 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 2.154e-06/0.01834, allocations: 0 / 0.989 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.01266/0.03101, allocations: 1.394 MB / 0.9904 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.03106, allocations: 59.31 kB / 0.9905 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.03121, allocations: 127.8 kB / 0.9906 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.03125, allocations: 33.7 kB / 0.9906 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.03136, allocations: 120.3 kB / 0.9907 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.03144, allocations: 63.45 kB / 0.9908 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.03154, allocations: 41.7 kB / 0.9908 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002318/0.03177, allocations: 326.8 kB / 0.9911 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.03217, allocations: 107.9 kB / 0.9912 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.03256, allocations: 121.9 kB / 0.9914 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007602/0.03332, allocations: 204.8 kB / 0.9915 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.03333, allocations: 0 / 0.9915 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.007918/0.04125, allocations: 0.8967 MB / 0.9924 GB, free: 488 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.04129, allocations: 11.92 kB / 0.9924 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.0413, allocations: 0 / 0.9924 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001818/0.04312, allocations: 348.5 kB / 0.9928 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.04354, allocations: 51.91 kB / 0.9928 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.04554, allocations: 0.841 MB / 0.9936 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.04587, allocations: 27.88 kB / 0.9937 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.0459, allocations: 7.984 kB / 0.9937 GB, free: 15.17 MB / 0.9512 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.0002025/0.0461, allocations: 125.8 kB / 0.9938 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.04617, allocations: 15.91 kB / 0.9938 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.048, allocations: 433.2 kB / 0.9942 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.04801, allocations: 4 kB / 0.9942 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.04802, allocations: 3.938 kB / 0.9942 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.04802, allocations: 0 / 0.9942 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.05052, allocations: 0.7974 MB / 0.995 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.05052, allocations: 0 / 0.995 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.0509, allocations: 56.02 kB / 0.9951 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.05247, allocations: 352.5 kB / 0.9954 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.0525, allocations: 3.984 kB / 0.9954 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.05433, allocations: 0.8372 MB / 0.9962 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.05433, allocations: 0 / 0.9962 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.05567, allocations: 465.7 kB / 0.9967 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.0557, allocations: 7.953 kB / 0.9967 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.05574, allocations: 8 kB / 0.9967 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.05609, allocations: 27.91 kB / 0.9967 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.05615, allocations: 15.97 kB / 0.9967 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.05617, allocations: 8 kB / 0.9967 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.957e-05/0.05625, allocations: 102 kB / 0.9968 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.05625, allocations: 0 / 0.9968 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005703/0.05682, allocations: 139.5 kB / 0.997 GB, free: 11.69 MB / 0.9512 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.0006251/0.05745, allocations: 250.7 kB / 0.9972 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.0598, allocations: 366.1 kB / 0.9975 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.0598, allocations: 0 / 0.9975 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.06166, allocations: 239.8 kB / 0.9978 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.06213, allocations: 23.98 kB / 0.9978 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.07444, allocations: 1.401 MB / 0.9992 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.07456, allocations: 98.64 kB / 0.9993 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.461e-05/0.07465, allocations: 17.53 kB / 0.9993 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.0747, allocations: 16.5 kB / 0.9993 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of SimCode: time 1.102e-06/0.0747, allocations: 0 / 0.9993 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of Templates: time 0.01172/0.08642, allocations: 5.535 MB / 1.005 GB, free: 3.766 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.910381257534027]