Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001567/0.001567, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002562/0.002562, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.471/3.471, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002113/0.002113, allocations: 70.03 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4009, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004206/0.4051, allocations: 1.972 MB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002981/0.4081, allocations: 1.279 MB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.4083, allocations: 7.938 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005601/0.4089, allocations: 163.4 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005823/0.4094, allocations: 219.1 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.4099, allocations: 159.6 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000498/0.4104, allocations: 335.1 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.4106, allocations: 36.84 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.4108, allocations: 151.3 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.4111, allocations: 159.4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.4111, allocations: 23.98 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.4113, allocations: 59.92 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.4114, allocations: 95.66 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.4116, allocations: 99.28 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.4121, allocations: 382.4 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4121, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4121, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.4121, allocations: 4 kB / 1.331 GB, free: 12.74 MB / 1.029 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.001231/0.4133, allocations: 0.5701 MB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4134, allocations: 12.03 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.706e-05/0.4135, allocations: 40.7 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.4141, allocations: 324.4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.4141, allocations: 4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.4141, allocations: 8 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.4144, allocations: 113.5 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4144, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4144, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.4144, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.4146, allocations: 65.52 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.4155, allocations: 428.1 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.4159, allocations: 138.7 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.416, allocations: 44.83 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.416, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/0.4163, allocations: 119.3 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.4163, allocations: 0 / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006065/0.4169, allocations: 237.9 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.417, allocations: 59.34 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/0.4177, allocations: 0.5327 MB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.4177, allocations: 33.7 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.4179, allocations: 172.4 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.4179, allocations: 35.73 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.4181, allocations: 69.92 kB / 1.333 GB, free: 9.605 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.4182, allocations: 354.7 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.4185, allocations: 100.5 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.4187, allocations: 139.6 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.4191, allocations: 191 kB / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.4191, allocations: 4 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005872/0.4197, allocations: 337.3 kB / 1.334 GB, free: 8.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4197, allocations: 4 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4197, allocations: 0 / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.4197, allocations: 7.938 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.42, allocations: 51.97 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.42, allocations: 4 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.4201, allocations: 15.94 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.4201, allocations: 12 kB / 1.335 GB, free: 8.379 MB / 1.029 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.0002145/0.4203, allocations: 194.2 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.4204, allocations: 35.77 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004503/0.4209, allocations: 204.7 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.4209, allocations: 3.984 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4209, allocations: 4 kB / 1.335 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4209, allocations: 0 / 1.335 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.4211, allocations: 233.1 kB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4211, allocations: 4 kB / 1.335 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.878e-05/0.4212, allocations: 15.92 kB / 1.335 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4212, allocations: 4 kB / 1.335 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4212, allocations: 4 kB / 1.335 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4212, allocations: 3.938 kB / 1.335 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4212, allocations: 7.984 kB / 1.335 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.4216, allocations: 223.2 kB / 1.335 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.4217, allocations: 39.81 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.4218, allocations: 0 / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.753e-05/0.4219, allocations: 15.92 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.422, allocations: 19.97 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.422, allocations: 4 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004072/0.4224, allocations: 335 kB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4224, allocations: 0 / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003026/0.4227, allocations: 63.89 kB / 1.336 GB, free: 6.934 MB / 1.029 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.001773/0.4245, allocations: 465.5 kB / 1.336 GB, free: 6.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.4249, allocations: 187.8 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4249, allocations: 0 / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.4251, allocations: 67.89 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.4256, allocations: 84.16 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.4266, allocations: 0.5664 MB / 1.337 GB, free: 5.738 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.4268, allocations: 191.9 kB / 1.337 GB, free: 5.527 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001621/0.427, allocations: 62.88 kB / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.4271, allocations: 39.42 kB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.4271, allocations: 0 / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of Templates: time 0.01045/0.4375, allocations: 4.73 MB / 1.342 GB, free: 0.7695 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.763379860669374]