Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.001815/0.001815, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002291/0.002291, allocations: 217.1 kB / 23.01 MB, free: 4.566 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.629/1.629, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.397/3.397, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [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.002159/0.002159, allocations: 62.75 kB / 1.178 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3315, allocations: 180.2 MB / 1.354 GB, free: 8.086 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003665/0.3351, allocations: 2.049 MB / 1.356 GB, free: 6.023 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002473/0.3376, allocations: 1.361 MB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.3377, allocations: 15.81 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.3382, allocations: 163.4 kB / 1.358 GB, free: 4.484 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.3387, allocations: 203.2 kB / 1.358 GB, free: 4.285 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.3391, allocations: 163.5 kB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004399/0.3395, allocations: 339.1 kB / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.3396, allocations: 36.86 kB / 1.358 GB, free: 3.758 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.3399, allocations: 167.4 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.3402, allocations: 163.3 kB / 1.359 GB, free: 3.434 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.3402, allocations: 16 kB / 1.359 GB, free: 3.418 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.3403, allocations: 63.95 kB / 1.359 GB, free: 3.355 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.3405, allocations: 95.61 kB / 1.359 GB, free: 3.262 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.3406, allocations: 123.2 kB / 1.359 GB, free: 3.141 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.3411, allocations: 390.3 kB / 1.359 GB, free: 2.758 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3411, allocations: 0 / 1.359 GB, free: 2.758 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3411, allocations: 4 kB / 1.359 GB, free: 2.754 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3411, allocations: 0 / 1.359 GB, free: 2.754 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001027/0.3421, allocations: 0.5663 MB / 1.36 GB, free: 2.156 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3422, allocations: 8.031 kB / 1.36 GB, free: 2.148 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.844e-05/0.3422, allocations: 44.66 kB / 1.36 GB, free: 2.105 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.3428, allocations: 324.4 kB / 1.36 GB, free: 1.766 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3428, allocations: 4 kB / 1.36 GB, free: 1.762 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.3428, allocations: 8 kB / 1.36 GB, free: 1.754 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.3431, allocations: 115.2 kB / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.3431, allocations: 0 / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3431, allocations: 4 kB / 1.36 GB, free: 1.633 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3431, allocations: 4 kB / 1.36 GB, free: 1.629 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.3433, allocations: 51.97 kB / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.3442, allocations: 479.4 kB / 1.361 GB, free: 1.066 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.3445, allocations: 138.7 kB / 1.361 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.3446, allocations: 44.83 kB / 1.361 GB, free: 0.875 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3447, allocations: 3.938 kB / 1.361 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.3449, allocations: 115.3 kB / 1.361 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3449, allocations: 0 / 1.361 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005688/0.3455, allocations: 226.9 kB / 1.361 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.3455, allocations: 55.41 kB / 1.361 GB, free: 464 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.3462, allocations: 0.5249 MB / 1.362 GB, free: 15.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.3462, allocations: 33.7 kB / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.3464, allocations: 168.4 kB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.3464, allocations: 43.78 kB / 1.362 GB, free: 15.67 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.3465, allocations: 77.84 kB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3467, allocations: 346.8 kB / 1.363 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.3469, allocations: 100.5 kB / 1.363 GB, free: 15.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.3472, allocations: 135.6 kB / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.3475, allocations: 182.5 kB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3475, allocations: 0 / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005914/0.3481, allocations: 333.3 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3482, allocations: 11.94 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3482, allocations: 0 / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3482, allocations: 0 / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.3484, allocations: 51.91 kB / 1.363 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3484, allocations: 64 / 1.363 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.3486, allocations: 23.89 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.3486, allocations: 15.98 kB / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002116/0.3488, allocations: 182.3 kB / 1.364 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.3489, allocations: 39.7 kB / 1.364 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.3493, allocations: 192.8 kB / 1.364 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3493, allocations: 4 kB / 1.364 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3493, allocations: 7.938 kB / 1.364 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3493, allocations: 0 / 1.364 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.3496, allocations: 276.5 kB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3496, allocations: 4 kB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.432e-05/0.3497, allocations: 15.94 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3497, allocations: 3.938 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3497, allocations: 7.984 kB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3497, allocations: 0 / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3497, allocations: 0 / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.3501, allocations: 210.5 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.3502, allocations: 35.81 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.3503, allocations: 3.938 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-05/0.3504, allocations: 11.98 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.3504, allocations: 19.97 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.3504, allocations: 4 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003917/0.3508, allocations: 323.1 kB / 1.365 GB, free: 12.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3508, allocations: 3.938 kB / 1.365 GB, free: 12.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003292/0.3512, allocations: 71.88 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001618/0.3528, allocations: 429.7 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.3532, allocations: 179.8 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3532, allocations: 4 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3534, allocations: 51.91 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.3539, allocations: 98.41 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.3549, allocations: 0.5876 MB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.3553, allocations: 0.7909 MB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/0.3554, allocations: 35.42 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.3554, allocations: 3.938 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of Templates: time 0.007989/0.3634, allocations: 4.578 MB / 1.371 GB, free: 6.277 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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: 12.481223437003791]