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.001213/0.001213, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00199/0.003203, allocations: 440 kB / 10.41 MB, free: 284 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.001304/0.001304, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001767/0.003071, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9082/0.9082, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07714/0.9854, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.35/2.35, allocations: 447.1 MB / 0.675 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2163/2.566, allocations: 146 MB / 0.8176 GB, free: 3.809 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.471e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002309/0.002324, allocations: 2.151 MB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003657, allocations: 1.472 MB / 0.8225 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/0.003698, allocations: 0 / 0.8225 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.252e-05/0.003741, allocations: 19.8 kB / 0.8225 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.735e-05/0.003798, allocations: 55.48 kB / 0.8225 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.004302, allocations: 314.7 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.004459, allocations: 231 kB / 0.8231 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.774e-05/0.004556, allocations: 38.31 kB / 0.8231 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.00467, allocations: 139.6 kB / 0.8232 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.418e-05/0.004764, allocations: 71.84 kB / 0.8233 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.004788, allocations: 20 kB / 0.8233 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.005243, allocations: 375.4 kB / 0.8237 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.005272, allocations: 31.92 kB / 0.8237 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.005313, allocations: 51.94 kB / 0.8238 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.005656, allocations: 331 kB / 0.8241 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.005664, allocations: 0 / 0.8241 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005664, allocations: 0 / 0.8241 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.005674, allocations: 0 / 0.8241 GB, free: 13.18 MB / 0.8073 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.0005195/0.006194, allocations: 495.4 kB / 0.8245 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.006222, allocations: 12.03 kB / 0.8246 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007456/0.006967, allocations: 253.8 kB / 0.8248 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.511e-05/0.007042, allocations: 121.6 kB / 0.8249 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.007095, allocations: 71.97 kB / 0.825 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.007124, allocations: 16.38 kB / 0.825 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.007468, allocations: 278 kB / 0.8253 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.007474, allocations: 192 / 0.8253 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.007495, allocations: 8.375 kB / 0.8253 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.007501, allocations: 8.125 kB / 0.8253 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.007628, allocations: 99.75 kB / 0.8254 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007116/0.008339, allocations: 479.7 kB / 0.8258 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.009001, allocations: 254.3 kB / 0.8261 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-05/0.009079, allocations: 57.12 kB / 0.8261 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-05/0.009137, allocations: 19.98 kB / 0.8261 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.009157, allocations: 38.5 kB / 0.8262 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.009158, allocations: 0 / 0.8262 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0005853/0.009743, allocations: 261.6 kB / 0.8264 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.009765, allocations: 51.41 kB / 0.8265 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.009836, allocations: 133.9 kB / 0.8266 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.009861, allocations: 25.7 kB / 0.8266 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.009909, allocations: 124.3 kB / 0.8268 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.009944, allocations: 55.52 kB / 0.8268 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.01, allocations: 49.56 kB / 0.8269 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.0102, allocations: 322.8 kB / 0.8272 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.01027, allocations: 51.98 kB / 0.8272 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.01034, allocations: 54.91 kB / 0.8273 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.01047, allocations: 104.8 kB / 0.8274 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01047, allocations: 0 / 0.8274 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002877/0.01076, allocations: 188.9 kB / 0.8275 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.01077, allocations: 8 kB / 0.8275 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.01078, allocations: 0 / 0.8275 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.01097, allocations: 76.78 kB / 0.8276 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006333/0.01161, allocations: 155.8 kB / 0.8278 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003084/0.01192, allocations: 0.5562 MB / 0.8283 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.01205, allocations: 31.86 kB / 0.8283 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.01207, allocations: 15.98 kB / 0.8284 GB, free: 8.555 MB / 0.8073 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 7.802e-05/0.01215, allocations: 121.7 kB / 0.8285 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.01218, allocations: 7.984 kB / 0.8285 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.01255, allocations: 225.5 kB / 0.8287 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01255, allocations: 4 kB / 0.8287 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.01255, allocations: 0 / 0.8287 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01256, allocations: 7.938 kB / 0.8287 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009635/0.01352, allocations: 496.9 kB / 0.8292 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01352, allocations: 4 kB / 0.8292 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006328/0.01416, allocations: 135.8 kB / 0.8293 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.01417, allocations: 23.88 kB / 0.8293 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/0.01437, allocations: 80.16 kB / 0.8294 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.01439, allocations: 7.984 kB / 0.8294 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003032/0.01469, allocations: 0.5601 MB / 0.83 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01469, allocations: 3.938 kB / 0.83 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.015, allocations: 252.7 kB / 0.8302 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.01503, allocations: 12 kB / 0.8302 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.01518, allocations: 19.97 kB / 0.8302 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.0152, allocations: 19.86 kB / 0.8303 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.01522, allocations: 7.984 kB / 0.8303 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.913e-05/0.01523, allocations: 20.83 kB / 0.8303 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01523, allocations: 0 / 0.8303 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002564/0.01549, allocations: 135.5 kB / 0.8304 GB, free: 6.336 MB / 0.8073 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.0002735/0.01576, allocations: 215.9 kB / 0.8306 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003188/0.01608, allocations: 156.1 kB / 0.8308 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/0.01609, allocations: 11.92 kB / 0.8308 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.01628, allocations: 96.28 kB / 0.8309 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.01652, allocations: 247.8 kB / 0.8311 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.01885, allocations: 371.6 kB / 0.8315 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.259e-05/0.01889, allocations: 63.84 kB / 0.8315 GB, free: 5.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000114/0.019, allocations: 37.08 kB / 0.8316 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.01915, allocations: 99.27 kB / 0.8317 GB, free: 4.961 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.01915, allocations: 0 / 0.8317 GB, free: 4.961 MB / 0.8073 GB Notification: Performance of Templates: time 0.007347/0.0265, allocations: 6.751 MB / 0.8383 GB, free: 14.29 MB / 0.823 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.128806640394032]