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.0008242/0.0008242, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001885, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007045/0.0007045, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001724, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9781/0.9781, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09064/1.069, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.846/1.846, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5093/2.355, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.297e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003202/0.003215, allocations: 2.092 MB / 0.7317 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.00538, allocations: 1.348 MB / 0.733 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.005488, allocations: 4 kB / 0.733 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.005824, allocations: 174.9 kB / 0.7332 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.006198, allocations: 217.5 kB / 0.7334 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.006482, allocations: 171.3 kB / 0.7336 GB, free: 464 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000441/0.006923, allocations: 336 kB / 0.7339 GB, free: 128 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.007046, allocations: 38.88 kB / 0.7339 GB, free: 88 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008766/0.007922, allocations: 320.8 kB / 0.7342 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.008118, allocations: 128.4 kB / 0.7343 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.008155, allocations: 16 kB / 0.7344 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.008313, allocations: 60.67 kB / 0.7344 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.008434, allocations: 79.72 kB / 0.7345 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.782e-05/0.008522, allocations: 60.36 kB / 0.7345 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.008959, allocations: 235 kB / 0.7348 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.078e-05/0.00898, allocations: 4.906 kB / 0.7348 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.854e-06/0.008982, allocations: 0 / 0.7348 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.527e-05/0.009007, allocations: 0 / 0.7348 GB, free: 15.24 MB / 0.7136 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.001052/0.01006, allocations: 0.5809 MB / 0.7353 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.01011, allocations: 9.438 kB / 0.7353 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.362e-05/0.01019, allocations: 24.91 kB / 0.7354 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.01062, allocations: 268 kB / 0.7356 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.01065, allocations: 12.91 kB / 0.7356 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.01068, allocations: 12.56 kB / 0.7357 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.0109, allocations: 98.52 kB / 0.7357 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.01091, allocations: 0 / 0.7357 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.01093, allocations: 4 kB / 0.7358 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.01094, allocations: 4 kB / 0.7358 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.071e-05/0.01101, allocations: 25.56 kB / 0.7358 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.0116, allocations: 261.5 kB / 0.736 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.01179, allocations: 128.8 kB / 0.7362 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.01184, allocations: 22.09 kB / 0.7362 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.01185, allocations: 4 kB / 0.7362 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.01201, allocations: 91.91 kB / 0.7363 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.01202, allocations: 3.938 kB / 0.7363 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0002282/0.01224, allocations: 105.1 kB / 0.7364 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.01228, allocations: 60.61 kB / 0.7364 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.01262, allocations: 358.1 kB / 0.7368 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.01264, allocations: 25.7 kB / 0.7368 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.01272, allocations: 134.1 kB / 0.7369 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.01276, allocations: 43.67 kB / 0.737 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/0.01286, allocations: 67 kB / 0.737 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.01298, allocations: 362.7 kB / 0.7374 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.01305, allocations: 27.38 kB / 0.7374 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/0.01313, allocations: 57 kB / 0.7375 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.01329, allocations: 121.3 kB / 0.7376 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.01329, allocations: 0 / 0.7376 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002577/0.01355, allocations: 146.6 kB / 0.7377 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.01356, allocations: 8 kB / 0.7377 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01357, allocations: 1.031 kB / 0.7377 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.01358, allocations: 0 / 0.7377 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.01378, allocations: 63.89 kB / 0.7378 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.01379, allocations: 4.531 kB / 0.7378 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.082e-05/0.01388, allocations: 21.11 kB / 0.7378 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.01391, allocations: 15.92 kB / 0.7378 GB, free: 11.95 MB / 0.7136 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.0001083/0.01401, allocations: 125.3 kB / 0.7379 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.01405, allocations: 24.69 kB / 0.738 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.01426, allocations: 117.9 kB / 0.7381 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01426, allocations: 0 / 0.7381 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01427, allocations: 4.5 kB / 0.7381 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01427, allocations: 0 / 0.7381 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.01444, allocations: 154.4 kB / 0.7382 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01444, allocations: 0 / 0.7382 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.01451, allocations: 20.73 kB / 0.7382 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.01456, allocations: 39.69 kB / 0.7383 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01456, allocations: 1.781 kB / 0.7383 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.01457, allocations: 7.984 kB / 0.7383 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01457, allocations: 0 / 0.7383 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01457, allocations: 4 kB / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.01474, allocations: 133.7 kB / 0.7384 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.01477, allocations: 8 kB / 0.7384 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.01483, allocations: 5.25 kB / 0.7384 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.01489, allocations: 19.97 kB / 0.7385 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.0149, allocations: 7.984 kB / 0.7385 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001473/0.01505, allocations: 143.9 kB / 0.7386 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01505, allocations: 0 / 0.7386 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002501/0.0153, allocations: 59.92 kB / 0.7387 GB, free: 11.05 MB / 0.7136 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.001345/0.01664, allocations: 0.5576 MB / 0.7392 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.01681, allocations: 108.3 kB / 0.7393 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.01682, allocations: 7.984 kB / 0.7393 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.533e-05/0.01689, allocations: 48.83 kB / 0.7394 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.01728, allocations: 0.5159 MB / 0.7399 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006758/0.01796, allocations: 494.4 kB / 0.7403 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.014e-05/0.01802, allocations: 104.6 kB / 0.7404 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.969e-05/0.0181, allocations: 41.39 kB / 0.7405 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.01824, allocations: 111.3 kB / 0.7406 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.01824, allocations: 2.062 kB / 0.7406 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of Templates: time 0.006702/0.02494, allocations: 4.927 MB / 0.7454 GB, free: 4.539 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.973719869740307]