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.0009057/0.0009057, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008156/0.0008156, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 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.9013/0.9013, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.668/1.668, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9517 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.023e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.00218/0.0022, allocations: 1.976 MB / 0.9537 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.003575, allocations: 1.278 MB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.812e-05/0.003673, allocations: 11.88 kB / 0.9549 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.004015, allocations: 163.3 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.004343, allocations: 207.1 kB / 0.9553 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.004565, allocations: 171.3 kB / 0.9555 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.004842, allocations: 339 kB / 0.9558 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.004969, allocations: 40.78 kB / 0.9558 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.005136, allocations: 183.5 kB / 0.956 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.00529, allocations: 147.6 kB / 0.9561 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.005314, allocations: 16 kB / 0.9561 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.621e-05/0.00541, allocations: 55.97 kB / 0.9562 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.005489, allocations: 95.67 kB / 0.9563 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.00555, allocations: 71.72 kB / 0.9564 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.005897, allocations: 382.6 kB / 0.9567 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.005899, allocations: 8 kB / 0.9567 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.062e-06/0.0059, allocations: 0 / 0.9567 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.005904, allocations: 0 / 0.9567 GB, free: 13.81 MB / 0.9167 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.0006378/0.006542, allocations: 0.574 MB / 0.9573 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.006574, allocations: 8.031 kB / 0.9573 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.006634, allocations: 36.7 kB / 0.9573 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.006976, allocations: 316.2 kB / 0.9576 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.006994, allocations: 16.11 kB / 0.9577 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.007009, allocations: 4 kB / 0.9577 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.007177, allocations: 112.4 kB / 0.9578 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.007185, allocations: 7.875 kB / 0.9578 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.007198, allocations: 7.984 kB / 0.9578 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.007202, allocations: 0 / 0.9578 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.007311, allocations: 63.95 kB / 0.9578 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.007818, allocations: 428.2 kB / 0.9582 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.008025, allocations: 130.7 kB / 0.9584 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.008092, allocations: 48.84 kB / 0.9584 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.008109, allocations: 7.984 kB / 0.9584 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.008259, allocations: 120.1 kB / 0.9585 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.00826, allocations: 0 / 0.9585 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003448/0.008605, allocations: 232.9 kB / 0.9588 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.008637, allocations: 59.34 kB / 0.9588 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.009013, allocations: 0.5327 MB / 0.9593 GB, free: 11 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.009028, allocations: 25.7 kB / 0.9594 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.009121, allocations: 172.5 kB / 0.9595 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.009151, allocations: 43.73 kB / 0.9596 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.009219, allocations: 69.92 kB / 0.9596 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.009311, allocations: 350.8 kB / 0.96 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.009431, allocations: 104.5 kB / 0.9601 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.009568, allocations: 139.6 kB / 0.9602 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.009771, allocations: 187.7 kB / 0.9604 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.009773, allocations: 0 / 0.9604 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000322/0.0101, allocations: 337.3 kB / 0.9607 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.01011, allocations: 4 kB / 0.9607 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.01011, allocations: 0 / 0.9607 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.01012, allocations: 4 kB / 0.9607 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.01025, allocations: 51.91 kB / 0.9608 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.01025, allocations: 7.938 kB / 0.9608 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.678e-05/0.01032, allocations: 19.88 kB / 0.9608 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.01034, allocations: 8 kB / 0.9608 GB, free: 9.453 MB / 0.9167 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.0001199/0.01046, allocations: 197.6 kB / 0.961 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.01049, allocations: 35.77 kB / 0.961 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.01075, allocations: 212 kB / 0.9612 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01075, allocations: 0 / 0.9612 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01075, allocations: 3.938 kB / 0.9612 GB, free: 9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.01076, allocations: 3.938 kB / 0.9612 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.01091, allocations: 237.1 kB / 0.9615 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01091, allocations: 0 / 0.9615 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.01095, allocations: 16 kB / 0.9615 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01095, allocations: 4 kB / 0.9615 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.01096, allocations: 3.984 kB / 0.9615 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01096, allocations: 4 kB / 0.9615 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01097, allocations: 0 / 0.9615 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.01118, allocations: 228.6 kB / 0.9617 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.01122, allocations: 43.75 kB / 0.9617 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.01124, allocations: 4 kB / 0.9617 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.164e-05/0.01129, allocations: 4 kB / 0.9617 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.01134, allocations: 19.97 kB / 0.9618 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.01135, allocations: 11.92 kB / 0.9618 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002248/0.01157, allocations: 331.1 kB / 0.9621 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01157, allocations: 0 / 0.9621 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001891/0.01176, allocations: 59.94 kB / 0.9622 GB, free: 8.008 MB / 0.9167 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.000694/0.01246, allocations: 456.7 kB / 0.9626 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.01271, allocations: 191.8 kB / 0.9628 GB, free: 7.547 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01272, allocations: 0 / 0.9628 GB, free: 7.547 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/0.0128, allocations: 60.09 kB / 0.9628 GB, free: 7.488 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.01306, allocations: 95.31 kB / 0.9629 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.01367, allocations: 0.5972 MB / 0.9635 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.01378, allocations: 187.8 kB / 0.9637 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.01384, allocations: 40.48 kB / 0.9637 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of SimCode: time 7.11e-07/0.01384, allocations: 0 / 0.9637 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of Templates: time 0.004323/0.01817, allocations: 4.749 MB / 0.9684 GB, free: 1.793 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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: 6.6846172623336315]