Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001243/0.001243, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001398/0.001398, allocations: 215.8 kB / 23.01 MB, free: 4.609 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 179] 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 2.925/2.925, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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_ZeroInput,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_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_latest_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.002054/0.002054, allocations: 70.02 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3154, allocations: 180.2 MB / 1.354 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003117/0.3185, allocations: 2.071 MB / 1.356 GB, free: 5.914 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.3209, allocations: 1.684 MB / 1.358 GB, free: 4.227 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.896e-05/0.321, allocations: 4 kB / 1.358 GB, free: 4.223 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.732e-05/0.321, allocations: 19.78 kB / 1.358 GB, free: 4.203 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.903e-05/0.3211, allocations: 47.56 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008626/0.322, allocations: 358.8 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.3222, allocations: 219.2 kB / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3223, allocations: 41.59 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.3224, allocations: 87.72 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.3226, allocations: 87.72 kB / 1.359 GB, free: 3.375 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.3226, allocations: 20 kB / 1.359 GB, free: 3.355 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007429/0.3234, allocations: 423.5 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.3234, allocations: 39.84 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.743e-05/0.3235, allocations: 87.66 kB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005338/0.324, allocations: 422.7 kB / 1.36 GB, free: 2.402 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.324, allocations: 0 / 1.36 GB, free: 2.402 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.452e-06/0.324, allocations: 0 / 1.36 GB, free: 2.402 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.324, allocations: 0 / 1.36 GB, free: 2.402 MB / 1.045 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.0007326/0.3248, allocations: 465.1 kB / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.3248, allocations: 12.03 kB / 1.36 GB, free: 1.902 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/0.3277, allocations: 324.4 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3278, allocations: 126.3 kB / 1.36 GB, free: 1.438 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-05/0.3279, allocations: 67.97 kB / 1.36 GB, free: 1.359 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.3279, allocations: 20.38 kB / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.3292, allocations: 345.7 kB / 1.361 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3293, allocations: 3.938 kB / 1.361 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.3293, allocations: 4 kB / 1.361 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3293, allocations: 4 kB / 1.361 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.3314, allocations: 367.6 kB / 1.361 GB, free: 0.625 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.333, allocations: 0.8262 MB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/0.3375, allocations: 0.6462 MB / 1.363 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.3386, allocations: 201 kB / 1.363 GB, free: 14.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.281e-05/0.3387, allocations: 11.98 kB / 1.363 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3387, allocations: 50.48 kB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.3387, allocations: 0 / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.004294/0.343, allocations: 0.7053 MB / 1.364 GB, free: 14.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.3431, allocations: 55.41 kB / 1.364 GB, free: 14.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.3432, allocations: 156.2 kB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.3432, allocations: 29.7 kB / 1.364 GB, free: 13.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.3433, allocations: 123.8 kB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.3434, allocations: 47.58 kB / 1.364 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.771e-05/0.3435, allocations: 49.64 kB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3436, allocations: 334.7 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.3447, allocations: 199.8 kB / 1.365 GB, free: 13.1 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.3458, allocations: 205.9 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.3479, allocations: 352.5 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3479, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002647/0.3505, allocations: 0.5036 MB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3505, allocations: 8 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3506, allocations: 0 / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005429/0.3511, allocations: 122.6 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.3527, allocations: 155.8 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008064/0.3535, allocations: 0.6265 MB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.3541, allocations: 75.75 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.3541, allocations: 11.98 kB / 1.367 GB, free: 11.02 MB / 1.061 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.0001402/0.3543, allocations: 127.3 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.3543, allocations: 15.89 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/0.3571, allocations: 0.5253 MB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3571, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3571, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3571, allocations: 4 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004843/0.3619, allocations: 1.033 MB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.362, allocations: 4 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.3635, allocations: 143.8 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005548/0.364, allocations: 130.7 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.3641, allocations: 7.984 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008233/0.3649, allocations: 0.6264 MB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3649, allocations: 3.938 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.3675, allocations: 0.57 MB / 1.37 GB, free: 7.711 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.3676, allocations: 11.95 kB / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.3676, allocations: 4 kB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006698/0.3683, allocations: 59.92 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.3683, allocations: 11.97 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.3684, allocations: 7.984 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001025/0.3685, allocations: 117.3 kB / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3685, allocations: 0 / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000506/0.369, allocations: 127.6 kB / 1.37 GB, free: 7.379 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 (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.0004254/0.3694, allocations: 234.7 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00267/0.3721, allocations: 451.4 kB / 1.371 GB, free: 6.699 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3721, allocations: 0 / 1.371 GB, free: 6.699 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.3735, allocations: 235.8 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.3739, allocations: 44.23 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.3761, allocations: 0.5329 MB / 1.371 GB, free: 5.855 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.3764, allocations: 0.7162 MB / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.3765, allocations: 27.41 kB / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3765, allocations: 0 / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of Templates: time 0.007481/0.384, allocations: 5.139 MB / 1.377 GB, free: 15.98 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.91217792101088]