Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001833/0.001833, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002378/0.002378, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.746/2.746, allocations: 476 MB / 0.7707 GB, free: 4.699 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_11_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_11_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.002118/0.002118, allocations: 68.7 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3252, allocations: 170 MB / 1.284 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.00411/0.3293, allocations: 1.975 MB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.3319, allocations: 1.277 MB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.332, allocations: 4 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004677/0.3325, allocations: 167.4 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005616/0.3331, allocations: 207.2 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.3335, allocations: 163.6 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.3339, allocations: 343 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.3341, allocations: 40.84 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.3343, allocations: 155.4 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.3346, allocations: 159.3 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.3346, allocations: 16 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.3347, allocations: 55.97 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.3349, allocations: 95.67 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.335, allocations: 95.33 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.3355, allocations: 398.2 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3355, allocations: 0 / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3355, allocations: 0 / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.3355, allocations: 0 / 1.289 GB, free: 6.73 MB / 0.9825 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.001114/0.3367, allocations: 0.5741 MB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3367, allocations: 8.031 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.781e-05/0.3368, allocations: 36.7 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.3374, allocations: 324.5 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.3374, allocations: 11.98 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3374, allocations: 4 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.3377, allocations: 120 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3377, allocations: 0 / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3377, allocations: 0 / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3377, allocations: 7.938 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.3379, allocations: 71.89 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/0.3387, allocations: 420.2 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.3391, allocations: 130.7 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3392, allocations: 52.83 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.3392, allocations: 0 / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.3395, allocations: 117.3 kB / 1.291 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3395, allocations: 0 / 1.291 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005677/0.3401, allocations: 241.2 kB / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3401, allocations: 51.41 kB / 1.291 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006513/0.3407, allocations: 0.5327 MB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.3408, allocations: 29.69 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.3409, allocations: 176.4 kB / 1.292 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.341, allocations: 35.73 kB / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3411, allocations: 69.92 kB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.3413, allocations: 350.8 kB / 1.292 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.3415, allocations: 112.5 kB / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.3417, allocations: 131.6 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.3421, allocations: 192.2 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3421, allocations: 0 / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005838/0.3427, allocations: 333.2 kB / 1.293 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3427, allocations: 4 kB / 1.293 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3427, allocations: 8.062 kB / 1.293 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3427, allocations: 7.922 kB / 1.293 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.3429, allocations: 51.92 kB / 1.293 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.3429, allocations: 3.984 kB / 1.293 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.3431, allocations: 23.89 kB / 1.293 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.3431, allocations: 11.98 kB / 1.293 GB, free: 2.359 MB / 0.9825 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.0002051/0.3433, allocations: 185.7 kB / 1.293 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.3434, allocations: 35.77 kB / 1.293 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.3438, allocations: 220.7 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3438, allocations: 4 kB / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3438, allocations: 0 / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3438, allocations: 0 / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.3441, allocations: 233.1 kB / 1.294 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3441, allocations: 0 / 1.294 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.468e-05/0.3442, allocations: 12 kB / 1.294 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3442, allocations: 3.984 kB / 1.294 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3442, allocations: 4 kB / 1.294 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3442, allocations: 3.938 kB / 1.294 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3442, allocations: 4 kB / 1.294 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.3446, allocations: 228.7 kB / 1.294 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.3447, allocations: 39.75 kB / 1.294 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.3448, allocations: 8 kB / 1.294 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.3449, allocations: 7.938 kB / 1.294 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.3449, allocations: 19.97 kB / 1.294 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.3449, allocations: 11.98 kB / 1.294 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003897/0.3453, allocations: 327.1 kB / 1.294 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3453, allocations: 0 / 1.294 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004694/0.3458, allocations: 59.89 kB / 1.294 GB, free: 0.9219 MB / 0.9825 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 (15): * Single equations (assignments): 11 * 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.001695/0.3475, allocations: 461.4 kB / 1.295 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.3479, allocations: 187.8 kB / 1.295 GB, free: 476 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3479, allocations: 3.938 kB / 1.295 GB, free: 472 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.3481, allocations: 59.97 kB / 1.295 GB, free: 412 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.3485, allocations: 91.89 kB / 1.295 GB, free: 332 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.3496, allocations: 0.5956 MB / 1.296 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.3498, allocations: 183.8 kB / 1.296 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.3499, allocations: 31.42 kB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.3499, allocations: 4 kB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of Templates: time 0.00776/0.3577, allocations: 4.737 MB / 1.3 GB, free: 10.73 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.005698565859348]