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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00214/0.00214, allocations: 190 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.28/3.28, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 65.64 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3739, allocations: 174.9 MB / 1.316 GB, free: 9.664 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003628/0.3776, allocations: 2.059 MB / 1.318 GB, free: 7.594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.3806, allocations: 1.682 MB / 1.32 GB, free: 5.906 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.3807, allocations: 4 kB / 1.32 GB, free: 5.902 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.716e-05/0.3808, allocations: 19.78 kB / 1.32 GB, free: 5.883 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.3809, allocations: 47.56 kB / 1.32 GB, free: 5.836 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.3822, allocations: 362.8 kB / 1.32 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.3825, allocations: 219.1 kB / 1.32 GB, free: 5.266 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.3827, allocations: 41.59 kB / 1.32 GB, free: 5.219 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.3828, allocations: 87.77 kB / 1.32 GB, free: 5.133 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.383, allocations: 83.73 kB / 1.32 GB, free: 5.051 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.383, allocations: 20 kB / 1.321 GB, free: 5.031 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000932/0.384, allocations: 419.5 kB / 1.321 GB, free: 4.621 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.384, allocations: 43.84 kB / 1.321 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.3841, allocations: 91.64 kB / 1.321 GB, free: 4.488 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007267/0.3849, allocations: 430.7 kB / 1.321 GB, free: 4.066 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3849, allocations: 3.938 kB / 1.321 GB, free: 4.062 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3849, allocations: 3.938 kB / 1.321 GB, free: 4.059 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3849, allocations: 0 / 1.321 GB, free: 4.059 MB / 1.014 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.001025/0.3859, allocations: 457.2 kB / 1.322 GB, free: 3.578 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.3859, allocations: 12.03 kB / 1.322 GB, free: 3.566 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.3865, allocations: 88.73 kB / 1.322 GB, free: 3.48 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.3867, allocations: 118.4 kB / 1.322 GB, free: 3.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.3868, allocations: 54.25 kB / 1.322 GB, free: 3.281 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.3868, allocations: 12.38 kB / 1.322 GB, free: 3.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.3873, allocations: 178 kB / 1.322 GB, free: 3.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3873, allocations: 3.938 kB / 1.322 GB, free: 3.086 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.3874, allocations: 12 kB / 1.322 GB, free: 3.074 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.3874, allocations: 4 kB / 1.322 GB, free: 3.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.3878, allocations: 175.9 kB / 1.323 GB, free: 2.898 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.3892, allocations: 0.5892 MB / 1.323 GB, free: 2.266 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.3897, allocations: 162.5 kB / 1.323 GB, free: 2.098 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.3899, allocations: 72.81 kB / 1.323 GB, free: 2.023 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004742/0.3904, allocations: 71.92 kB / 1.323 GB, free: 1.953 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3904, allocations: 42.5 kB / 1.323 GB, free: 1.902 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.3904, allocations: 0 / 1.323 GB, free: 1.902 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0007413/0.3912, allocations: 233.8 kB / 1.324 GB, free: 1.668 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.3912, allocations: 55.41 kB / 1.324 GB, free: 1.602 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3914, allocations: 164 kB / 1.324 GB, free: 1.434 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.3914, allocations: 29.7 kB / 1.324 GB, free: 1.398 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.3915, allocations: 123.9 kB / 1.324 GB, free: 1.273 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.3916, allocations: 51.58 kB / 1.324 GB, free: 1.223 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.3917, allocations: 33.7 kB / 1.324 GB, free: 1.184 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3918, allocations: 330.8 kB / 1.324 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.392, allocations: 67.97 kB / 1.324 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.3923, allocations: 103.2 kB / 1.325 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.3927, allocations: 151.3 kB / 1.325 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3927, allocations: 3.938 kB / 1.325 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005315/0.3932, allocations: 219 kB / 1.325 GB, free: 312 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3932, allocations: 8 kB / 1.325 GB, free: 304 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3932, allocations: 0 / 1.325 GB, free: 304 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3933, allocations: 0 / 1.325 GB, free: 304 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.3935, allocations: 35.97 kB / 1.325 GB, free: 268 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3935, allocations: 7.938 kB / 1.325 GB, free: 260 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.3937, allocations: 23.88 kB / 1.325 GB, free: 236 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.3938, allocations: 7.984 kB / 1.325 GB, free: 228 kB / 1.014 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 0.0001354/0.3939, allocations: 133.7 kB / 1.325 GB, free: 84 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.3939, allocations: 15.91 kB / 1.325 GB, free: 68 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/0.3945, allocations: 197.7 kB / 1.325 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.3945, allocations: 4 kB / 1.325 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3945, allocations: 4 kB / 1.325 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3945, allocations: 0 / 1.325 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.3959, allocations: 0.5809 MB / 1.326 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3959, allocations: 0 / 1.326 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.3961, allocations: 27.98 kB / 1.326 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3962, allocations: 4 kB / 1.326 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3962, allocations: 3.984 kB / 1.326 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3962, allocations: 4 kB / 1.326 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3962, allocations: 0 / 1.326 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.3967, allocations: 297 kB / 1.326 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.3967, allocations: 11.89 kB / 1.326 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.3968, allocations: 8 kB / 1.326 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.397, allocations: 15.97 kB / 1.326 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.3971, allocations: 15.92 kB / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.3971, allocations: 8 kB / 1.326 GB, free: 14.81 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.855e-05/0.3972, allocations: 117.3 kB / 1.326 GB, free: 14.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3972, allocations: 0 / 1.326 GB, free: 14.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004985/0.3977, allocations: 127.6 kB / 1.327 GB, free: 14.57 MB / 1.029 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.0004635/0.3981, allocations: 235.2 kB / 1.327 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005133/0.3986, allocations: 163.8 kB / 1.327 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3987, allocations: 4.062 kB / 1.327 GB, free: 14.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.3989, allocations: 75.89 kB / 1.327 GB, free: 14.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.3993, allocations: 43.95 kB / 1.327 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008274/0.4001, allocations: 337.1 kB / 1.327 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.4005, allocations: 0.7086 MB / 1.328 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.4006, allocations: 30.45 kB / 1.328 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.4007, allocations: 27.42 kB / 1.328 GB, free: 12.91 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.4007, allocations: 0 / 1.328 GB, free: 12.91 MB / 1.029 GB Notification: Performance of Templates: time 0.009566/0.4103, allocations: 4.41 MB / 1.332 GB, free: 8.582 MB / 1.029 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/jenkins/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: 9.606455244123936]