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.0007589/0.0007589, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009329/0.001692, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00096/0.00096, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.002113, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9018/0.9018, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08498/0.9868, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.808/1.808, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4437/2.251, allocations: 123.3 MB / 0.728 GB, free: 5.844 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.337e-06/1.07e-05, allocations: 3.188 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002083/0.002094, allocations: 2.133 MB / 0.7314 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.003544, allocations: 1.477 MB / 0.7329 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.003591, allocations: 0 / 0.7329 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.409e-05/0.003635, allocations: 23.78 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.003702, allocations: 48.31 kB / 0.7329 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006445/0.004346, allocations: 324.4 kB / 0.7332 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.004519, allocations: 232.1 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.004621, allocations: 38.3 kB / 0.7335 GB, free: 320 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.00474, allocations: 131.8 kB / 0.7336 GB, free: 188 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.004843, allocations: 72.72 kB / 0.7337 GB, free: 116 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.004865, allocations: 16 kB / 0.7337 GB, free: 100 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005787/0.005444, allocations: 380.7 kB / 0.7341 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.282e-05/0.005477, allocations: 29.69 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.00553, allocations: 51.94 kB / 0.7342 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006306/0.00616, allocations: 346.9 kB / 0.7345 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.00617, allocations: 0 / 0.7345 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.41e-07/0.006171, allocations: 0 / 0.7345 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.006183, allocations: 0.5938 kB / 0.7345 GB, free: 15.31 MB / 0.7136 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.0005465/0.00673, allocations: 492.5 kB / 0.735 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.594e-05/0.006756, allocations: 8.562 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.007021, allocations: 151.8 kB / 0.7351 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.641e-05/0.007107, allocations: 129.6 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.007171, allocations: 76.34 kB / 0.7353 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.007193, allocations: 21.31 kB / 0.7353 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.007391, allocations: 195.7 kB / 0.7355 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.0074, allocations: 1.062 kB / 0.7355 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.007413, allocations: 4.375 kB / 0.7355 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.00742, allocations: 9.75 kB / 0.7355 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.328e-05/0.007494, allocations: 57.09 kB / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006565/0.00815, allocations: 444.2 kB / 0.736 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.008705, allocations: 193.5 kB / 0.7362 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.008747, allocations: 33.89 kB / 0.7362 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.008922, allocations: 66.56 kB / 0.7363 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.008941, allocations: 34.56 kB / 0.7363 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.008942, allocations: 0 / 0.7363 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0004942/0.009436, allocations: 214.7 kB / 0.7365 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.009457, allocations: 55.91 kB / 0.7366 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.352e-05/0.00952, allocations: 127.4 kB / 0.7367 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.00954, allocations: 33.7 kB / 0.7367 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.009584, allocations: 117.4 kB / 0.7368 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.009612, allocations: 55.52 kB / 0.7369 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.009657, allocations: 41.64 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.698e-05/0.009724, allocations: 323.9 kB / 0.7372 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.676e-05/0.009761, allocations: 27.98 kB / 0.7373 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-05/0.009798, allocations: 30.23 kB / 0.7373 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.961e-05/0.009878, allocations: 75.17 kB / 0.7374 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.009881, allocations: 7.922 kB / 0.7374 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002229/0.0101, allocations: 154.7 kB / 0.7375 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.01011, allocations: 4 kB / 0.7375 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.01012, allocations: 0 / 0.7375 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.01033, allocations: 85.03 kB / 0.7376 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.01084, allocations: 124.7 kB / 0.7377 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002653/0.01111, allocations: 0.5406 MB / 0.7383 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.01117, allocations: 18.39 kB / 0.7383 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.01118, allocations: 7.984 kB / 0.7383 GB, free: 11.23 MB / 0.7136 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 6.539e-05/0.01124, allocations: 125.7 kB / 0.7384 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.01127, allocations: 12 kB / 0.7384 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.01152, allocations: 160.3 kB / 0.7386 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.01152, allocations: 0 / 0.7386 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.01153, allocations: 0 / 0.7386 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.01153, allocations: 8.812 kB / 0.7386 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005813/0.01211, allocations: 423.9 kB / 0.739 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01211, allocations: 5.125 kB / 0.739 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.01261, allocations: 119.7 kB / 0.7391 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.01262, allocations: 11.89 kB / 0.7391 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/0.01279, allocations: 79.12 kB / 0.7392 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.0128, allocations: 0 / 0.7392 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002354/0.01303, allocations: 0.5484 MB / 0.7397 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.01304, allocations: 3.938 kB / 0.7397 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.01326, allocations: 253.2 kB / 0.74 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.01328, allocations: 3.938 kB / 0.74 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.01335, allocations: 11.98 kB / 0.74 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.01337, allocations: 15.86 kB / 0.74 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.01338, allocations: 8 kB / 0.74 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.787e-05/0.0134, allocations: 31.58 kB / 0.74 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.0134, allocations: 0 / 0.74 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002477/0.01365, allocations: 135.5 kB / 0.7402 GB, free: 9.219 MB / 0.7136 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.000261/0.01391, allocations: 218.3 kB / 0.7404 GB, free: 9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.01415, allocations: 129.4 kB / 0.7405 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.01416, allocations: 5.062 kB / 0.7405 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.01429, allocations: 78.92 kB / 0.7406 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.01446, allocations: 49.64 kB / 0.7406 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.01676, allocations: 350.7 kB / 0.741 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.01679, allocations: 67.7 kB / 0.741 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.092e-05/0.01685, allocations: 22.3 kB / 0.741 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.01695, allocations: 83.34 kB / 0.7411 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/0.01695, allocations: 1.188 kB / 0.7411 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of Templates: time 0.006169/0.02312, allocations: 5.164 MB / 0.7462 GB, free: 3.203 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.84212027490139]