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.0007708/0.0007708, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.001815, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001088/0.001088, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002543, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9431/0.9431, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09128/1.034, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.379/2.379, allocations: 446.7 MB / 0.6745 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2563/2.635, allocations: 145.9 MB / 0.817 GB, free: 4.18 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 0.8183 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.949e-06/1.157e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002137/0.002149, allocations: 2.083 MB / 0.8203 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.00362, allocations: 1.344 MB / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.687e-05/0.003707, allocations: 4 kB / 0.8217 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.003961, allocations: 175.3 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.004228, allocations: 214.9 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.004444, allocations: 163.5 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.004706, allocations: 339 kB / 0.8225 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.00482, allocations: 30.89 kB / 0.8225 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005916/0.005411, allocations: 331.1 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.00555, allocations: 119.7 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.005573, allocations: 16 kB / 0.823 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.005679, allocations: 55.86 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.005749, allocations: 79.77 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.005802, allocations: 55.75 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.006057, allocations: 246.9 kB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.006068, allocations: 0 / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.653e-06/0.00607, allocations: 4 kB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.006082, allocations: 0 / 0.8234 GB, free: 13.65 MB / 0.8073 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.0005816/0.006663, allocations: 0.5802 MB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.006692, allocations: 8.625 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.006739, allocations: 28.91 kB / 0.824 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.00699, allocations: 272 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.007007, allocations: 8.312 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.007021, allocations: 15.94 kB / 0.8243 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.007152, allocations: 101.1 kB / 0.8244 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.007158, allocations: 0 / 0.8244 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.007167, allocations: 0 / 0.8244 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.007172, allocations: 8 kB / 0.8244 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.308e-05/0.007215, allocations: 19.98 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.007576, allocations: 253.6 kB / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.007705, allocations: 128 kB / 0.8248 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.007734, allocations: 20.86 kB / 0.8248 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.007746, allocations: 4 kB / 0.8248 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.007854, allocations: 100.9 kB / 0.8249 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.007855, allocations: 0 / 0.8249 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0001505/0.008005, allocations: 109.6 kB / 0.825 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.00803, allocations: 51.41 kB / 0.825 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.008235, allocations: 362.1 kB / 0.8254 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.008254, allocations: 33.69 kB / 0.8254 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.008314, allocations: 129.5 kB / 0.8255 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.008345, allocations: 43.72 kB / 0.8256 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.008407, allocations: 65.89 kB / 0.8257 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.05e-05/0.008488, allocations: 358.7 kB / 0.826 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.731e-05/0.008525, allocations: 31.38 kB / 0.826 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.008576, allocations: 56.22 kB / 0.8261 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.384e-05/0.00867, allocations: 108 kB / 0.8262 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.008672, allocations: 0 / 0.8262 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001439/0.008816, allocations: 152.4 kB / 0.8263 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.008827, allocations: 12.06 kB / 0.8263 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.00883, allocations: 0 / 0.8263 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.008837, allocations: 0 / 0.8263 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.008966, allocations: 59.91 kB / 0.8264 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.00897, allocations: 3.984 kB / 0.8264 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/0.009026, allocations: 15.89 kB / 0.8264 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.009044, allocations: 19.92 kB / 0.8264 GB, free: 10.35 MB / 0.8073 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 7.946e-05/0.009124, allocations: 132.6 kB / 0.8266 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.009145, allocations: 15.98 kB / 0.8266 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.009277, allocations: 120.8 kB / 0.8267 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.00928, allocations: 4 kB / 0.8267 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.009281, allocations: 0 / 0.8267 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.009285, allocations: 3.984 kB / 0.8267 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.009408, allocations: 149.6 kB / 0.8268 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.009411, allocations: 7.938 kB / 0.8268 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.009467, allocations: 15.98 kB / 0.8269 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.0095, allocations: 35.75 kB / 0.8269 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.009502, allocations: 0 / 0.8269 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.00951, allocations: 3.984 kB / 0.8269 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.009512, allocations: 8 kB / 0.8269 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009513, allocations: 0 / 0.8269 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.009625, allocations: 126.7 kB / 0.827 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.00965, allocations: 7.984 kB / 0.827 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.638e-05/0.009686, allocations: 4 kB / 0.827 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.009726, allocations: 19.91 kB / 0.8271 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.009736, allocations: 8 kB / 0.8271 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.356e-05/0.009829, allocations: 140.7 kB / 0.8272 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009829, allocations: 0 / 0.8272 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001479/0.009977, allocations: 59.89 kB / 0.8273 GB, free: 9.441 MB / 0.8073 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.001224/0.0112, allocations: 0.573 MB / 0.8278 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.01133, allocations: 101.5 kB / 0.8279 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.01134, allocations: 4 kB / 0.8279 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.697e-05/0.01139, allocations: 43.88 kB / 0.828 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01161, allocations: 117.5 kB / 0.8281 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.01219, allocations: 477 kB / 0.8285 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.67e-05/0.01224, allocations: 108.5 kB / 0.8286 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.81e-05/0.01232, allocations: 46.94 kB / 0.8287 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.01245, allocations: 115.3 kB / 0.8288 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.01245, allocations: 3.938 kB / 0.8288 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of Templates: time 0.006166/0.01861, allocations: 4.921 MB / 0.8336 GB, free: 3.277 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.255592608824372]