Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.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.001369/0.001369, allocations: 105 kB / 20.45 MB, free: 1.5 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.001442/0.001442, allocations: 219.2 kB / 23.76 MB, free: 4.711 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9791/0.9791, allocations: 150 MB / 463.9 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 660] "Notification: IBPSA 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.00228/0.00228, allocations: 63.94 kB / 0.6425 GB, free: 9.871 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1892, allocations: 89.18 MB / 0.7296 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.004399/0.1936, allocations: 1.953 MB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00279/0.1964, allocations: 1.294 MB / 0.7328 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.1966, allocations: 3.938 kB / 0.7328 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.1971, allocations: 95.56 kB / 0.7329 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.1975, allocations: 131.4 kB / 0.733 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.1979, allocations: 139.5 kB / 0.7331 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.1983, allocations: 231.4 kB / 0.7333 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.1985, allocations: 29.8 kB / 0.7334 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.1987, allocations: 107.5 kB / 0.7335 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.199, allocations: 107.6 kB / 0.7336 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.199, allocations: 16 kB / 0.7336 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1991, allocations: 63.84 kB / 0.7336 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.319e-05/0.1992, allocations: 59.81 kB / 0.7337 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.1994, allocations: 87.42 kB / 0.7338 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.1998, allocations: 286.8 kB / 0.7341 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1998, allocations: 4 kB / 0.7341 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1998, allocations: 0 / 0.7341 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.1998, allocations: 0 / 0.7341 GB, free: 12.15 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001069/0.2009, allocations: 494.9 kB / 0.7345 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2009, allocations: 8.031 kB / 0.7345 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.417e-05/0.201, allocations: 28.75 kB / 0.7346 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.2014, allocations: 229.1 kB / 0.7348 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.2014, allocations: 8 kB / 0.7348 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.2015, allocations: 19.98 kB / 0.7348 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.2018, allocations: 110.7 kB / 0.7349 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2018, allocations: 4 kB / 0.7349 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.2018, allocations: 11.94 kB / 0.7349 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2018, allocations: 0 / 0.7349 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.2021, allocations: 87.92 kB / 0.735 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007833/0.2029, allocations: 423.5 kB / 0.7354 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.2033, allocations: 126.5 kB / 0.7355 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.2034, allocations: 48.83 kB / 0.7356 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.2034, allocations: 11.98 kB / 0.7356 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.2037, allocations: 121.9 kB / 0.7357 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.2037, allocations: 3.938 kB / 0.7357 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0006854/0.2044, allocations: 253.2 kB / 0.736 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.2045, allocations: 55.41 kB / 0.736 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.2049, allocations: 337.8 kB / 0.7363 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.2049, allocations: 33.7 kB / 0.7364 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.205, allocations: 136.5 kB / 0.7365 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.2051, allocations: 47.67 kB / 0.7365 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.2051, allocations: 57.64 kB / 0.7366 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2053, allocations: 338.8 kB / 0.7369 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.2055, allocations: 87.95 kB / 0.737 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.2058, allocations: 133.1 kB / 0.7371 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.2062, allocations: 190.8 kB / 0.7373 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.2062, allocations: 4 kB / 0.7373 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005806/0.2068, allocations: 283.5 kB / 0.7376 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2068, allocations: 4 kB / 0.7376 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/0.2068, allocations: 4 kB / 0.7376 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2068, allocations: 0 / 0.7376 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.207, allocations: 43.97 kB / 0.7376 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.207, allocations: 11.88 kB / 0.7376 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.2072, allocations: 23.88 kB / 0.7377 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.2072, allocations: 8 kB / 0.7377 GB, free: 8.227 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.000161/0.2074, allocations: 161.8 kB / 0.7378 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.2074, allocations: 31.78 kB / 0.7379 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/0.2079, allocations: 202.9 kB / 0.7381 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2079, allocations: 0 / 0.7381 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2079, allocations: 4 kB / 0.7381 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2079, allocations: 3.984 kB / 0.7381 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008586/0.2087, allocations: 0.5285 MB / 0.7386 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2088, allocations: 0 / 0.7386 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-05/0.2088, allocations: 15.98 kB / 0.7386 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2088, allocations: 0 / 0.7386 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2089, allocations: 4 kB / 0.7386 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2089, allocations: 4 kB / 0.7386 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2089, allocations: 4 kB / 0.7386 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.2093, allocations: 299.2 kB / 0.7389 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.2094, allocations: 31.78 kB / 0.7389 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.2094, allocations: 4 kB / 0.7389 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.2096, allocations: 11.98 kB / 0.7389 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.2096, allocations: 19.97 kB / 0.739 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.2097, allocations: 8 kB / 0.739 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002267/0.2099, allocations: 217.1 kB / 0.7392 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2099, allocations: 0 / 0.7392 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003178/0.2102, allocations: 51.88 kB / 0.7392 GB, free: 6.566 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001544/0.2117, allocations: 422.1 kB / 0.7396 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004919/0.2122, allocations: 175.8 kB / 0.7398 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2122, allocations: 0 / 0.7398 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.2124, allocations: 67.89 kB / 0.7399 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.2128, allocations: 65.45 kB / 0.7399 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.2136, allocations: 445.9 kB / 0.7403 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.214, allocations: 0.7519 MB / 0.7411 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.2141, allocations: 27.44 kB / 0.7411 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.2141, allocations: 0 / 0.7411 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of Templates: time 0.005937/0.22, allocations: 3.356 MB / 0.7444 GB, free: 1.422 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.490218228893355] Failed to read output from testmodel.py, exit status != 0: 0.2289101928472519 0.24329814000000002 0.040346315 Calling exit ...