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.0009522/0.0009522, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001071/0.001071, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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.9364/0.9364, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.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.85/1.85, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 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.273e-06/1.273e-06, allocations: 0 / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.521e-05, allocations: 6.031 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002123/0.002138, allocations: 2.099 MB / 0.7621 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.003723, allocations: 1.47 MB / 0.7635 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.003766, allocations: 4 kB / 0.7635 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.16e-05/0.003808, allocations: 15.8 kB / 0.7635 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.00388, allocations: 52.3 kB / 0.7636 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.00444, allocations: 350 kB / 0.7639 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.004589, allocations: 235 kB / 0.7641 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.348e-05/0.004672, allocations: 30.33 kB / 0.7642 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.71e-05/0.004769, allocations: 127.8 kB / 0.7643 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.589e-05/0.004855, allocations: 63.84 kB / 0.7643 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.004875, allocations: 21.25 kB / 0.7644 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003942/0.005269, allocations: 359.4 kB / 0.7647 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.005297, allocations: 40.89 kB / 0.7647 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.005344, allocations: 67.83 kB / 0.7648 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.005691, allocations: 399.4 kB / 0.7652 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005693, allocations: 4 kB / 0.7652 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.61e-07/0.005693, allocations: 0.625 kB / 0.7652 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.494e-06/0.005696, allocations: 0 / 0.7652 GB, free: 1.383 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.0004116/0.006107, allocations: 425.9 kB / 0.7656 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.267e-05/0.00613, allocations: 8.031 kB / 0.7656 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.006336, allocations: 75.59 kB / 0.7657 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.844e-05/0.006404, allocations: 125.6 kB / 0.7658 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.006458, allocations: 79.83 kB / 0.7659 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.006476, allocations: 12.38 kB / 0.7659 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.006661, allocations: 205.4 kB / 0.7661 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.006669, allocations: 192 / 0.7661 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.006682, allocations: 8.375 kB / 0.7661 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.006691, allocations: 8.125 kB / 0.7661 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.714e-05/0.006758, allocations: 49.44 kB / 0.7661 GB, free: 340 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.007352, allocations: 440.5 kB / 0.7666 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.007889, allocations: 201.9 kB / 0.7668 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.00793, allocations: 31.3 kB / 0.7668 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.008092, allocations: 63.94 kB / 0.7668 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.00811, allocations: 30.56 kB / 0.7669 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.008111, allocations: 1.156 kB / 0.7669 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0004658/0.008577, allocations: 214.1 kB / 0.7671 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.008598, allocations: 59.41 kB / 0.7671 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.869e-05/0.008656, allocations: 130.1 kB / 0.7673 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.008674, allocations: 25.7 kB / 0.7673 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.008715, allocations: 120.3 kB / 0.7674 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.008743, allocations: 51.52 kB / 0.7675 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.008791, allocations: 41.64 kB / 0.7675 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.008862, allocations: 326.8 kB / 0.7678 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.008902, allocations: 31.98 kB / 0.7678 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.008939, allocations: 28.86 kB / 0.7679 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.129e-05/0.009021, allocations: 78.45 kB / 0.7679 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.009022, allocations: 3.406 kB / 0.7679 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002165/0.009238, allocations: 156.4 kB / 0.7681 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.009247, allocations: 4 kB / 0.7681 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.00925, allocations: 0 / 0.7681 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/0.009446, allocations: 82.91 kB / 0.7682 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.009894, allocations: 103.9 kB / 0.7683 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002574/0.01015, allocations: 0.5376 MB / 0.7688 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.01021, allocations: 25.94 kB / 0.7688 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.01022, allocations: 0 / 0.7688 GB, free: 13.49 MB / 0.7292 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.678e-05/0.01028, allocations: 129.8 kB / 0.7689 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.01031, allocations: 11.98 kB / 0.769 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.01056, allocations: 157.7 kB / 0.7691 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.01057, allocations: 4 kB / 0.7691 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01057, allocations: 0 / 0.7691 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01057, allocations: 8.922 kB / 0.7691 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.01113, allocations: 430.5 kB / 0.7695 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01113, allocations: 5.031 kB / 0.7695 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.01157, allocations: 99.23 kB / 0.7696 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000167/0.01173, allocations: 84.55 kB / 0.7697 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.01174, allocations: 4 kB / 0.7697 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002248/0.01197, allocations: 0.5406 MB / 0.7702 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01197, allocations: 0 / 0.7702 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.01219, allocations: 248.6 kB / 0.7705 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.0122, allocations: 11.89 kB / 0.7705 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.01222, allocations: 4 kB / 0.7705 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.01229, allocations: 13.42 kB / 0.7705 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.01231, allocations: 15.92 kB / 0.7705 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.01232, allocations: 3.984 kB / 0.7705 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.661e-05/0.01233, allocations: 26.84 kB / 0.7706 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01233, allocations: 0 / 0.7706 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00023/0.01256, allocations: 135.5 kB / 0.7707 GB, free: 11.5 MB / 0.7292 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.0002544/0.01282, allocations: 219.8 kB / 0.7709 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.01305, allocations: 126.3 kB / 0.771 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.01305, allocations: 4 kB / 0.771 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.01319, allocations: 83.36 kB / 0.7711 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.01334, allocations: 45.58 kB / 0.7711 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.01393, allocations: 327.2 kB / 0.7714 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.83e-05/0.01396, allocations: 71.7 kB / 0.7715 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.623e-05/0.01402, allocations: 20.52 kB / 0.7715 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/0.01411, allocations: 80.69 kB / 0.7716 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.01411, allocations: 0 / 0.7716 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of Templates: time 0.005668/0.01978, allocations: 5.074 MB / 0.7766 GB, free: 5.602 MB / 0.7292 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.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.816806009970605]