Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.00138/0.00138, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001442/0.001442, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.846/2.846, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,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_ZeroInput") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.91 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002682/1.031, allocations: 2.06 MB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001973/1.033, allocations: 1.693 MB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.656e-05/1.033, allocations: 3.125 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.601e-05/1.034, allocations: 14.06 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.515e-05/1.034, allocations: 50.25 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/1.035, allocations: 366.4 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000178/1.035, allocations: 215.8 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/1.035, allocations: 38.92 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.402e-05/1.035, allocations: 88.78 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/1.035, allocations: 91.58 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/1.035, allocations: 18.34 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000668/1.036, allocations: 417.1 kB / 1.327 GB, free: 21.85 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/1.036, allocations: 43.81 kB / 1.327 GB, free: 21.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/1.036, allocations: 83.88 kB / 1.327 GB, free: 21.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006077/1.036, allocations: 433.7 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.036, allocations: 3.938 kB / 1.327 GB, free: 21.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.836e-06/1.036, allocations: 0.7812 kB / 1.327 GB, free: 21.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.163e-06/1.036, allocations: 0 / 1.327 GB, free: 21.63 MB / 1.061 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.0007675/1.037, allocations: 0.5223 MB / 1.328 GB, free: 21.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/1.037, allocations: 9.688 kB / 1.328 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005883/1.038, allocations: 93.28 kB / 1.328 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/1.038, allocations: 184.6 kB / 1.328 GB, free: 20.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.847e-05/1.038, allocations: 42.73 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/1.038, allocations: 13.97 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/1.039, allocations: 191.1 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.039, allocations: 3.938 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/1.039, allocations: 5.375 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/1.039, allocations: 7.375 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004742/1.039, allocations: 182.2 kB / 1.329 GB, free: 20.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/1.04, allocations: 0.8976 MB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/1.041, allocations: 172.4 kB / 1.33 GB, free: 19.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/1.041, allocations: 65.7 kB / 1.33 GB, free: 19.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/1.042, allocations: 0.5202 MB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/1.042, allocations: 37.2 kB / 1.33 GB, free: 19.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/1.042, allocations: 0 / 1.33 GB, free: 19.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0007786/1.042, allocations: 238.6 kB / 1.33 GB, free: 19.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/1.042, allocations: 57.72 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/1.042, allocations: 159.3 kB / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/1.043, allocations: 26.89 kB / 1.331 GB, free: 18.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/1.043, allocations: 122.5 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/1.043, allocations: 54.39 kB / 1.331 GB, free: 18.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.692e-05/1.043, allocations: 34.56 kB / 1.331 GB, free: 18.72 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/1.043, allocations: 325.8 kB / 1.331 GB, free: 18.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/1.043, allocations: 79.97 kB / 1.331 GB, free: 18.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/1.043, allocations: 92.09 kB / 1.331 GB, free: 18.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/1.044, allocations: 149.7 kB / 1.332 GB, free: 18.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.044, allocations: 3.938 kB / 1.332 GB, free: 18.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005092/1.044, allocations: 210.3 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.044, allocations: 7.188 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.044, allocations: 0 / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.044, allocations: 1.312 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/1.044, allocations: 45 kB / 1.332 GB, free: 18.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.044, allocations: 1.531 kB / 1.332 GB, free: 18.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/1.045, allocations: 28.34 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/1.045, allocations: 9.078 kB / 1.332 GB, free: 18.13 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.453e-05/1.045, allocations: 129.4 kB / 1.332 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/1.045, allocations: 10.92 kB / 1.332 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005363/1.045, allocations: 213.4 kB / 1.332 GB, free: 17.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.045, allocations: 1.25 kB / 1.332 GB, free: 17.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/1.045, allocations: 5.484 kB / 1.332 GB, free: 17.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.045, allocations: 0.5625 kB / 1.332 GB, free: 17.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/1.047, allocations: 0.976 MB / 1.333 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.047, allocations: 0 / 1.333 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/1.047, allocations: 32.81 kB / 1.333 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.047, allocations: 1.344 kB / 1.333 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/1.047, allocations: 7.266 kB / 1.333 GB, free: 16.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.047, allocations: 1.219 kB / 1.333 GB, free: 16.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.047, allocations: 2.109 kB / 1.333 GB, free: 16.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/1.047, allocations: 293.5 kB / 1.333 GB, free: 16.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/1.047, allocations: 94.45 kB / 1.334 GB, free: 16.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/1.047, allocations: 6.828 kB / 1.334 GB, free: 16.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/1.048, allocations: 25.44 kB / 1.334 GB, free: 16.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/1.048, allocations: 12.7 kB / 1.334 GB, free: 16.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/1.048, allocations: 5.016 kB / 1.334 GB, free: 16.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.563e-05/1.048, allocations: 119.9 kB / 1.334 GB, free: 16.56 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.048, allocations: 0 / 1.334 GB, free: 16.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005224/1.048, allocations: 135.1 kB / 1.334 GB, free: 16.52 MB / 1.061 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004573/1.049, allocations: 227.6 kB / 1.334 GB, free: 16.4 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005185/1.049, allocations: 165 kB / 1.334 GB, free: 16.35 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.049, allocations: 1.062 kB / 1.334 GB, free: 16.35 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/1.049, allocations: 77.48 kB / 1.334 GB, free: 16.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/1.05, allocations: 50.06 kB / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/1.051, allocations: 353.6 kB / 1.335 GB, free: 16.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/1.051, allocations: 0.7076 MB / 1.335 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/1.051, allocations: 21.98 kB / 1.335 GB, free: 15.35 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.051, allocations: 3.938 kB / 1.335 GB, free: 15.35 MB / 1.061 GB Notification: Performance of Templates: time 0.007909/1.059, allocations: 3.94 MB / 1.339 GB, free: 14.91 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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: 11.92150798199873]