Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001554/0.001554, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001675/0.001675, allocations: 162.4 kB / 22.46 MB, free: 5.375 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.611/1.611, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.966/2.966, allocations: 377.8 MB / 0.6221 GB, free: 12.59 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.ReciprocatingCompressor,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.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_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.496e-05/3.654e-05, allocations: 5.516 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003755/0.003792, allocations: 1.989 MB / 0.9834 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002967/0.006759, allocations: 1.53 MB / 0.9849 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.828e-05/0.006827, allocations: 0 / 0.9849 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.933e-05/0.006896, allocations: 23.73 kB / 0.9849 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.007021, allocations: 51.48 kB / 0.9849 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.008218, allocations: 374.5 kB / 0.9853 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.00852, allocations: 227 kB / 0.9855 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.008692, allocations: 29.66 kB / 0.9855 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.008867, allocations: 127.8 kB / 0.9857 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.009012, allocations: 63.84 kB / 0.9857 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.00906, allocations: 20 kB / 0.9857 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008319/0.009892, allocations: 411.3 kB / 0.9861 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.009946, allocations: 43.89 kB / 0.9862 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9e-05/0.01004, allocations: 71.81 kB / 0.9862 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007243/0.01076, allocations: 486.7 kB / 0.9867 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.01076, allocations: 0 / 0.9867 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.01076, allocations: 3.938 kB / 0.9867 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.01077, allocations: 0 / 0.9867 GB, free: 6.492 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009223/0.0117, allocations: 461.1 kB / 0.9871 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.01174, allocations: 12.03 kB / 0.9872 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006575/0.0124, allocations: 92.73 kB / 0.9872 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.01254, allocations: 117.7 kB / 0.9874 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.01265, allocations: 75.95 kB / 0.9874 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.01268, allocations: 12.38 kB / 0.9874 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.01319, allocations: 241.5 kB / 0.9877 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.0132, allocations: 192 / 0.9877 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.01323, allocations: 12.31 kB / 0.9877 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.01324, allocations: 8.125 kB / 0.9877 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.01358, allocations: 132.7 kB / 0.9878 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.01502, allocations: 0.5912 MB / 0.9884 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.01724, allocations: 326.2 kB / 0.9887 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.01747, allocations: 76.83 kB / 0.9888 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004817/0.01795, allocations: 71.91 kB / 0.9888 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.01799, allocations: 42.56 kB / 0.9889 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.018, allocations: 3.938 kB / 0.9889 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.001815/0.01981, allocations: 388.2 kB / 0.9893 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.01986, allocations: 51.41 kB / 0.9893 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.02, allocations: 138 kB / 0.9894 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.02003, allocations: 29.7 kB / 0.9895 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.02014, allocations: 124.3 kB / 0.9896 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.148e-05/0.02022, allocations: 55.52 kB / 0.9896 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/0.02031, allocations: 37.7 kB / 0.9897 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.02048, allocations: 318.8 kB / 0.99 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.02071, allocations: 79.95 kB / 0.9901 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.02094, allocations: 83.95 kB / 0.9901 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.02137, allocations: 159.3 kB / 0.9903 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.02137, allocations: 3.984 kB / 0.9903 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009419/0.02232, allocations: 294.2 kB / 0.9906 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.02233, allocations: 4 kB / 0.9906 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.02234, allocations: 0 / 0.9906 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006501/0.02299, allocations: 128.2 kB / 0.9907 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.0243, allocations: 103.9 kB / 0.9908 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009673/0.02527, allocations: 0.6265 MB / 0.9914 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.02546, allocations: 23.92 kB / 0.9914 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.02548, allocations: 8 kB / 0.9914 GB, free: 1.41 MB / 0.9356 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.0001505/0.02563, allocations: 125.8 kB / 0.9916 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.02568, allocations: 7.953 kB / 0.9916 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009507/0.02663, allocations: 282.1 kB / 0.9918 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.02664, allocations: 7.938 kB / 0.9918 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.02665, allocations: 3.984 kB / 0.9919 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.02665, allocations: 0 / 0.9919 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.02852, allocations: 0.6408 MB / 0.9925 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.02853, allocations: 4 kB / 0.9925 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.02977, allocations: 96.02 kB / 0.9926 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000518/0.03029, allocations: 120.8 kB / 0.9927 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.03031, allocations: 7.984 kB / 0.9927 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008834/0.03119, allocations: 0.6383 MB / 0.9933 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.03119, allocations: 0 / 0.9933 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009602/0.03215, allocations: 361.8 kB / 0.9937 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.03217, allocations: 11.89 kB / 0.9937 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.0322, allocations: 3.984 kB / 0.9937 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.03243, allocations: 19.92 kB / 0.9937 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.03247, allocations: 11.98 kB / 0.9937 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.03249, allocations: 15.98 kB / 0.9937 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.707e-05/0.03257, allocations: 100.6 kB / 0.9938 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.03257, allocations: 0 / 0.9938 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005316/0.0331, allocations: 135.5 kB / 0.9939 GB, free: 14.73 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 (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.0005126/0.03361, allocations: 248.8 kB / 0.9942 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009632/0.03457, allocations: 221.8 kB / 0.9944 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.03458, allocations: 0 / 0.9944 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006197/0.0352, allocations: 123.8 kB / 0.9945 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.03561, allocations: 28.05 kB / 0.9945 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/0.03647, allocations: 327.9 kB / 0.9949 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.0366, allocations: 94.78 kB / 0.9949 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.346e-05/0.03669, allocations: 15.52 kB / 0.995 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.03675, allocations: 16.5 kB / 0.995 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of SimCode: time 5.1e-07/0.03675, allocations: 0 / 0.995 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of Templates: time 0.01025/0.047, allocations: 4.484 MB / 0.9994 GB, free: 9.195 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.132184248417616]