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.001905/0.001905, allocations: 88.72 kB / 19.44 MB, free: 356 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.002269/0.002269, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.503/1.503, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.234/3.234, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.014e-06/2.014e-06, allocations: 0 / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.459e-05/3.661e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004186/0.004223, allocations: 2 MB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003501/0.007724, allocations: 1.506 MB / 0.881 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.007854, allocations: 0 / 0.881 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.007961, allocations: 23.78 kB / 0.881 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.008154, allocations: 56.77 kB / 0.8811 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.009768, allocations: 361.2 kB / 0.8814 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.0102, allocations: 231 kB / 0.8817 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.01039, allocations: 41.66 kB / 0.8817 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.01065, allocations: 115.8 kB / 0.8818 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.01087, allocations: 74.25 kB / 0.8819 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.01092, allocations: 20 kB / 0.8819 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.01198, allocations: 407.3 kB / 0.8823 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.01203, allocations: 39.89 kB / 0.8823 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.01214, allocations: 63.89 kB / 0.8824 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0009264/0.01306, allocations: 488.7 kB / 0.8829 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.01307, allocations: 4 kB / 0.8829 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.01307, allocations: 0 / 0.8829 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.01308, allocations: 0 / 0.8829 GB, free: 1.133 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.01415, allocations: 455.1 kB / 0.8833 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.0142, allocations: 8.031 kB / 0.8833 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.01776, allocations: 340.4 kB / 0.8836 GB, free: 320 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.01794, allocations: 129.6 kB / 0.8837 GB, free: 164 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.01808, allocations: 75.89 kB / 0.8838 GB, free: 76 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-05/0.01814, allocations: 16.38 kB / 0.8838 GB, free: 60 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.01994, allocations: 390.1 kB / 0.8842 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.01995, allocations: 192 / 0.8842 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.02, allocations: 4.375 kB / 0.8842 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.02001, allocations: 8.125 kB / 0.8842 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.02246, allocations: 364.2 kB / 0.8846 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.02451, allocations: 0.7224 MB / 0.8853 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00513/0.02964, allocations: 0.6385 MB / 0.8859 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.03089, allocations: 196.7 kB / 0.8861 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.03102, allocations: 23.98 kB / 0.8861 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.03107, allocations: 34.5 kB / 0.8861 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.755e-06/0.03107, allocations: 0 / 0.8861 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.005102/0.03617, allocations: 0.7184 MB / 0.8868 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.03623, allocations: 59.62 kB / 0.8869 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.0364, allocations: 133.2 kB / 0.887 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.03645, allocations: 29.7 kB / 0.8871 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.0367, allocations: 124.3 kB / 0.8872 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.242e-05/0.03678, allocations: 51.56 kB / 0.8872 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.03691, allocations: 49.62 kB / 0.8873 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.03712, allocations: 318.8 kB / 0.8876 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.03842, allocations: 203.8 kB / 0.8878 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.03974, allocations: 204.5 kB / 0.888 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.04214, allocations: 350.3 kB / 0.8883 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.04214, allocations: 0 / 0.8883 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.003183/0.04533, allocations: 0.5115 MB / 0.8888 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.04535, allocations: 14.42 kB / 0.8888 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.04536, allocations: 0 / 0.8888 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006934/0.04605, allocations: 124.8 kB / 0.8889 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.04787, allocations: 147.9 kB / 0.8891 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.04893, allocations: 0.6342 MB / 0.8897 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007494/0.04968, allocations: 67.8 kB / 0.8898 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.04971, allocations: 7.984 kB / 0.8898 GB, free: 9.828 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.0001946/0.04991, allocations: 125.8 kB / 0.8899 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.653e-05/0.05, allocations: 11.95 kB / 0.8899 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/0.05324, allocations: 0.5291 MB / 0.8904 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.05325, allocations: 3.938 kB / 0.8904 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.05326, allocations: 0 / 0.8904 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.05326, allocations: 4 kB / 0.8904 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005501/0.05876, allocations: 0.9685 MB / 0.8914 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.05877, allocations: 0 / 0.8914 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/0.06046, allocations: 143.9 kB / 0.8915 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005825/0.06104, allocations: 128.7 kB / 0.8916 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.06108, allocations: 11.98 kB / 0.8916 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.06209, allocations: 0.6344 MB / 0.8923 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.06209, allocations: 0 / 0.8923 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/0.06511, allocations: 0.56 MB / 0.8928 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.06514, allocations: 11.89 kB / 0.8928 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.06519, allocations: 4 kB / 0.8928 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007581/0.06595, allocations: 63.84 kB / 0.8929 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.066, allocations: 7.984 kB / 0.8929 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.06604, allocations: 15.92 kB / 0.8929 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.157e-05/0.06612, allocations: 98.39 kB / 0.893 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.1e-08/0.06612, allocations: 4 kB / 0.893 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005852/0.0667, allocations: 135.6 kB / 0.8931 GB, free: 6.266 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.0006148/0.06732, allocations: 234.7 kB / 0.8934 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003311/0.07063, allocations: 446.9 kB / 0.8938 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.07063, allocations: 0 / 0.8938 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.07232, allocations: 240.3 kB / 0.894 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.0728, allocations: 51.91 kB / 0.8941 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.07533, allocations: 478 kB / 0.8945 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.07544, allocations: 99.03 kB / 0.8946 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002793/0.07572, allocations: 47.83 kB / 0.8947 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.0759, allocations: 28.47 kB / 0.8947 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/0.0759, allocations: 0 / 0.8947 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of Templates: time 0.01305/0.08895, allocations: 6.115 MB / 0.9007 GB, free: 14.58 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 800] 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: 8.616921319044195]