Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001331/0.001331, allocations: 109.7 kB / 19.7 MB, free: 2.266 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.0015/0.0015, allocations: 220.1 kB / 23.01 MB, free: 4.594 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.688/2.688, allocations: 476.8 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002023/0.002023, allocations: 64.11 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3399, allocations: 170 MB / 1.285 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003475/0.3433, allocations: 2.091 MB / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002669/0.346, allocations: 1.686 MB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.044e-05/0.3461, allocations: 0 / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.395e-05/0.3461, allocations: 27.72 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.3463, allocations: 47.55 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.3473, allocations: 362.8 kB / 1.289 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.3476, allocations: 223 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.3477, allocations: 37.61 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3478, allocations: 79.83 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.348, allocations: 87.67 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.348, allocations: 20 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008343/0.3489, allocations: 431.5 kB / 1.29 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.3489, allocations: 43.91 kB / 1.29 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.418e-05/0.349, allocations: 83.66 kB / 1.29 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006158/0.3496, allocations: 438.6 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3496, allocations: 0 / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3496, allocations: 0 / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.3496, allocations: 0 / 1.29 GB, free: 5.688 MB / 0.9825 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.0008671/0.3505, allocations: 461.2 kB / 1.291 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3505, allocations: 12.03 kB / 1.291 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005672/0.3511, allocations: 88.73 kB / 1.291 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.3512, allocations: 130.3 kB / 1.291 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.3514, allocations: 71.97 kB / 1.291 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.3514, allocations: 12.38 kB / 1.291 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.3518, allocations: 190 kB / 1.291 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3518, allocations: 3.938 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.3518, allocations: 12 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3519, allocations: 7.938 kB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.3522, allocations: 131.9 kB / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.3536, allocations: 0.6839 MB / 1.292 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.3556, allocations: 326.2 kB / 1.292 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.3558, allocations: 76.83 kB / 1.292 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004623/0.3562, allocations: 79.84 kB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.3563, allocations: 34.56 kB / 1.292 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.3563, allocations: 0 / 1.292 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.00163/0.3579, allocations: 395.2 kB / 1.293 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3579, allocations: 59.34 kB / 1.293 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3581, allocations: 150.4 kB / 1.293 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.3581, allocations: 29.7 kB / 1.293 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.3582, allocations: 119.9 kB / 1.293 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.3582, allocations: 47.53 kB / 1.293 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/0.3583, allocations: 41.64 kB / 1.293 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3585, allocations: 326.8 kB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.3587, allocations: 83.95 kB / 1.294 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.3589, allocations: 87.91 kB / 1.294 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.3593, allocations: 151.2 kB / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3593, allocations: 0 / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008732/0.3601, allocations: 296.5 kB / 1.294 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3602, allocations: 4 kB / 1.294 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3602, allocations: 0 / 1.294 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005576/0.3607, allocations: 132.1 kB / 1.294 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.3618, allocations: 99.95 kB / 1.294 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008529/0.3627, allocations: 0.6381 MB / 1.295 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.3629, allocations: 19.88 kB / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.3629, allocations: 8 kB / 1.295 GB, free: 0.5273 MB / 0.9825 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.0001302/0.363, allocations: 125.8 kB / 1.295 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.3631, allocations: 15.84 kB / 1.295 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000849/0.3639, allocations: 288.1 kB / 1.295 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3639, allocations: 0 / 1.295 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3639, allocations: 3.984 kB / 1.295 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3639, allocations: 0 / 1.295 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.3658, allocations: 0.7083 MB / 1.296 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3658, allocations: 0 / 1.296 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.3668, allocations: 91.95 kB / 1.296 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00049/0.3673, allocations: 135 kB / 1.296 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3673, allocations: 4 kB / 1.296 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007954/0.3681, allocations: 0.6303 MB / 1.297 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3681, allocations: 4 kB / 1.297 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008567/0.369, allocations: 365.8 kB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.369, allocations: 15.89 kB / 1.297 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.369, allocations: 4 kB / 1.297 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.3692, allocations: 11.98 kB / 1.297 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.3693, allocations: 15.97 kB / 1.297 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3693, allocations: 8 kB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001178/0.3694, allocations: 126.2 kB / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3694, allocations: 0 / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004941/0.3699, allocations: 131.5 kB / 1.297 GB, free: 13.75 MB / 0.9981 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.0004374/0.3704, allocations: 230.7 kB / 1.298 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008751/0.3712, allocations: 220 kB / 1.298 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3712, allocations: 0 / 1.298 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.3718, allocations: 123.8 kB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.3723, allocations: 56 kB / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009726/0.3733, allocations: 385.8 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.3736, allocations: 0.7125 MB / 1.299 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.3737, allocations: 19.44 kB / 1.299 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.3737, allocations: 0 / 1.299 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of Templates: time 0.008141/0.3819, allocations: 4.412 MB / 1.303 GB, free: 7.57 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.939098765025847]