Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001035/0.001035, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001038/0.001038, allocations: 161 kB / 23.82 MB, free: 0.75 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.9785/0.9785, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.753/1.753, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.118e-05, allocations: 5.984 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002413/0.002434, allocations: 2.105 MB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.004186, allocations: 1.452 MB / 0.7906 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.439e-05/0.004241, allocations: 0 / 0.7906 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.118e-05/0.004302, allocations: 27.78 kB / 0.7906 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9e-05/0.004392, allocations: 55.42 kB / 0.7906 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008505/0.005243, allocations: 339.8 kB / 0.791 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.005428, allocations: 224.2 kB / 0.7912 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.005554, allocations: 45.62 kB / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.005673, allocations: 123.7 kB / 0.7913 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.005796, allocations: 64.48 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.005825, allocations: 20 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000497/0.006322, allocations: 360.5 kB / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.006355, allocations: 36.77 kB / 0.7918 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.762e-05/0.006413, allocations: 67.89 kB / 0.7919 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.006845, allocations: 399.4 kB / 0.7922 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.006847, allocations: 0 / 0.7922 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.006847, allocations: 1.156 kB / 0.7922 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.006852, allocations: 0 / 0.7922 GB, free: 7.211 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000558/0.00741, allocations: 0.5405 MB / 0.7928 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.007447, allocations: 8.031 kB / 0.7928 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.007748, allocations: 103.8 kB / 0.7929 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.356e-05/0.007841, allocations: 132.3 kB / 0.793 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/0.007919, allocations: 75.95 kB / 0.7931 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.007946, allocations: 20.86 kB / 0.7931 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.008205, allocations: 215.2 kB / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.008213, allocations: 192 / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.00823, allocations: 5.75 kB / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.008239, allocations: 8.125 kB / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.008359, allocations: 80.83 kB / 0.7934 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008496/0.009209, allocations: 0.5971 MB / 0.794 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007116/0.00992, allocations: 216.9 kB / 0.7942 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.009995, allocations: 48.8 kB / 0.7942 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.01019, allocations: 64.94 kB / 0.7943 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.01021, allocations: 38.17 kB / 0.7943 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.01022, allocations: 0 / 0.7943 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0006874/0.0109, allocations: 267.8 kB / 0.7946 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.01093, allocations: 59.34 kB / 0.7946 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.158e-05/0.01102, allocations: 185.9 kB / 0.7948 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.01104, allocations: 25.7 kB / 0.7948 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.01111, allocations: 175 kB / 0.795 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.01114, allocations: 51.53 kB / 0.7951 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.01119, allocations: 47.36 kB / 0.7951 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01131, allocations: 496.1 kB / 0.7956 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.01138, allocations: 49.06 kB / 0.7956 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.01145, allocations: 43.97 kB / 0.7957 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.01159, allocations: 106.9 kB / 0.7958 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01159, allocations: 0 / 0.7958 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003456/0.01193, allocations: 217 kB / 0.796 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.01195, allocations: 5.531 kB / 0.796 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.01195, allocations: 0 / 0.796 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/0.01222, allocations: 80.77 kB / 0.7961 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/0.01278, allocations: 109 kB / 0.7962 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004025/0.01319, allocations: 0.8234 MB / 0.797 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.768e-05/0.01325, allocations: 19.81 kB / 0.797 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.01326, allocations: 8.875 kB / 0.797 GB, free: 2.109 MB / 0.7448 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 (17): * 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: 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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 8.375e-05/0.01335, allocations: 161.6 kB / 0.7972 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.01338, allocations: 15.91 kB / 0.7972 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.01377, allocations: 208.5 kB / 0.7974 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.01378, allocations: 7.922 kB / 0.7974 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01378, allocations: 4 kB / 0.7974 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01378, allocations: 0 / 0.7974 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007601/0.01454, allocations: 0.586 MB / 0.7979 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01455, allocations: 0 / 0.7979 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.01508, allocations: 96.02 kB / 0.798 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001953/0.01527, allocations: 87.55 kB / 0.7981 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.01529, allocations: 8 kB / 0.7981 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003555/0.01564, allocations: 0.8234 MB / 0.7989 GB, free: 16 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01564, allocations: 4 kB / 0.7989 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.01599, allocations: 340.9 kB / 0.7993 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.016, allocations: 7.953 kB / 0.7993 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.01603, allocations: 11.94 kB / 0.7993 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.01611, allocations: 11.92 kB / 0.7993 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.01613, allocations: 11.98 kB / 0.7993 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01614, allocations: 7.984 kB / 0.7993 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.01619, allocations: 142.2 kB / 0.7994 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01619, allocations: 0 / 0.7994 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002793/0.01647, allocations: 135.5 kB / 0.7996 GB, free: 15.33 MB / 0.7605 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 (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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000312/0.01678, allocations: 242.7 kB / 0.7998 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003912/0.01717, allocations: 158.9 kB / 0.8 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01717, allocations: 0 / 0.8 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.01735, allocations: 88.11 kB / 0.8 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.01759, allocations: 44.03 kB / 0.8001 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/0.01829, allocations: 311 kB / 0.8004 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.303e-05/0.01834, allocations: 75.64 kB / 0.8005 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.718e-05/0.01839, allocations: 19.52 kB / 0.8005 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.01843, allocations: 16.5 kB / 0.8005 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of SimCode: time 4.61e-07/0.01843, allocations: 0 / 0.8005 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of Templates: time 0.006045/0.02448, allocations: 4.509 MB / 0.8049 GB, free: 9.879 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","",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.267559301108122]