Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002119/0.002119, allocations: 85.48 kB / 19.44 MB, free: 348 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.00211/0.00211, 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.652/1.652, allocations: 177.1 MB / 203.1 MB, free: 5.387 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.564/3.564, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 175] 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.ReciprocatingCompressor,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.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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 7.624e-06/7.624e-06, allocations: 4.656 kB / 0.8774 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.615e-05/5.377e-05, allocations: 6.25 kB / 0.8774 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004434/0.004488, allocations: 2.084 MB / 0.8795 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003278/0.007765, allocations: 1.636 MB / 0.8811 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.007836, allocations: 0 / 0.8811 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.787e-05/0.007914, allocations: 23.78 kB / 0.8811 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.008081, allocations: 55.48 kB / 0.8812 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.009342, allocations: 362.5 kB / 0.8815 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.009654, allocations: 231 kB / 0.8817 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.009812, allocations: 33.67 kB / 0.8818 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.01002, allocations: 119.8 kB / 0.8819 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.01018, allocations: 71.84 kB / 0.8819 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.01023, allocations: 20 kB / 0.882 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00092/0.01115, allocations: 411.3 kB / 0.8823 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.01121, allocations: 39.83 kB / 0.8824 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.01132, allocations: 67.89 kB / 0.8825 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008372/0.01216, allocations: 486.5 kB / 0.8829 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.01216, allocations: 4 kB / 0.8829 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/0.01216, allocations: 0 / 0.8829 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.01217, allocations: 0 / 0.8829 GB, free: 1.051 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001077/0.01325, allocations: 0.5461 MB / 0.8835 GB, free: 472 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.01329, allocations: 8.031 kB / 0.8835 GB, free: 464 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/0.01553, allocations: 216.6 kB / 0.8837 GB, free: 248 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.01567, allocations: 120.5 kB / 0.8838 GB, free: 100 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.01581, allocations: 79.94 kB / 0.8839 GB, free: 8 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/0.01589, allocations: 20.39 kB / 0.8839 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.01695, allocations: 342.1 kB / 0.8842 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01696, allocations: 192 / 0.8842 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.017, allocations: 4.375 kB / 0.8842 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.01701, allocations: 12.12 kB / 0.8842 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.01833, allocations: 268.4 kB / 0.8845 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.02031, allocations: 0.792 MB / 0.8852 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003164/0.02347, allocations: 462.7 kB / 0.8857 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007117/0.02418, allocations: 147.6 kB / 0.8858 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.0243, allocations: 15.98 kB / 0.8858 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.02435, allocations: 41.39 kB / 0.8859 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.02435, allocations: 0 / 0.8859 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.003331/0.02768, allocations: 0.5401 MB / 0.8864 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.02773, allocations: 51.41 kB / 0.8865 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.02793, allocations: 197.3 kB / 0.8866 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.02798, allocations: 29.7 kB / 0.8867 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.02813, allocations: 175 kB / 0.8868 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.605e-05/0.0282, allocations: 55.58 kB / 0.8869 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.02834, allocations: 55.33 kB / 0.887 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002862/0.02863, allocations: 0.5001 MB / 0.8874 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.02933, allocations: 143.9 kB / 0.8876 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006948/0.03002, allocations: 151.9 kB / 0.8877 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.03125, allocations: 249.4 kB / 0.888 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.03125, allocations: 0 / 0.888 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001869/0.03312, allocations: 410.7 kB / 0.8884 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.03314, allocations: 5.719 kB / 0.8884 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.03315, allocations: 0 / 0.8884 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/0.03374, allocations: 119.5 kB / 0.8885 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.0354, allocations: 119.9 kB / 0.8886 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.0365, allocations: 0.878 MB / 0.8894 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.03693, allocations: 39.86 kB / 0.8895 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.03696, allocations: 4 kB / 0.8895 GB, free: 10.04 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 (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 0.0002194/0.03718, allocations: 172.6 kB / 0.8896 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.03727, allocations: 16.05 kB / 0.8897 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.03921, allocations: 438.8 kB / 0.8901 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.03922, allocations: 11.94 kB / 0.8901 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.03922, allocations: 0 / 0.8901 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.03923, allocations: 0 / 0.8901 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003371/0.0426, allocations: 0.8279 MB / 0.8909 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.0426, allocations: 3.938 kB / 0.8909 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/0.04422, allocations: 116 kB / 0.891 GB, free: 8.402 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005023/0.04472, allocations: 122 kB / 0.8911 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.04475, allocations: 7.984 kB / 0.8911 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.04581, allocations: 0.8819 MB / 0.892 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.04581, allocations: 0 / 0.892 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.04771, allocations: 486.6 kB / 0.8925 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.04773, allocations: 15.89 kB / 0.8925 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.04778, allocations: 0 / 0.8925 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/0.04822, allocations: 35.91 kB / 0.8925 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.04827, allocations: 7.984 kB / 0.8925 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.04831, allocations: 7.984 kB / 0.8925 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000134/0.04844, allocations: 147.2 kB / 0.8927 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.04844, allocations: 0 / 0.8927 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007074/0.04915, allocations: 131.6 kB / 0.8928 GB, free: 6.512 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 (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.0006156/0.04976, allocations: 234.7 kB / 0.893 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.05195, allocations: 338.8 kB / 0.8933 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.05195, allocations: 0 / 0.8933 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00099/0.05294, allocations: 170.8 kB / 0.8935 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.05335, allocations: 53.59 kB / 0.8936 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.05495, allocations: 389.9 kB / 0.8939 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.05507, allocations: 99.03 kB / 0.894 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002709/0.05534, allocations: 47.64 kB / 0.8941 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.05551, allocations: 32.47 kB / 0.8941 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of SimCode: time 9.51e-07/0.05552, allocations: 0 / 0.8941 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of Templates: time 0.0139/0.06942, allocations: 6.15 MB / 0.9001 GB, free: 15.03 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.570113991969265]