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.001664/0.001664, 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.00197/0.00197, allocations: 216.2 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.27/3.27, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002336/0.002336, allocations: 66.86 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3771, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003994/0.3811, allocations: 1.982 MB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002466/0.3836, allocations: 1.276 MB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.3837, allocations: 3.938 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.3842, allocations: 167.4 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005617/0.3848, allocations: 207.2 kB / 1.368 GB, free: 9.902 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.3852, allocations: 167.6 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004597/0.3856, allocations: 335 kB / 1.369 GB, free: 9.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.3858, allocations: 44.78 kB / 1.369 GB, free: 9.359 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.386, allocations: 147.4 kB / 1.369 GB, free: 9.215 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.3863, allocations: 159.4 kB / 1.369 GB, free: 9.059 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.3863, allocations: 19.94 kB / 1.369 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.3865, allocations: 63.97 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.3866, allocations: 91.67 kB / 1.369 GB, free: 8.887 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.3868, allocations: 95.33 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.3873, allocations: 390.3 kB / 1.37 GB, free: 8.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3873, allocations: 0 / 1.37 GB, free: 8.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3873, allocations: 0 / 1.37 GB, free: 8.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.3873, allocations: 0 / 1.37 GB, free: 8.41 MB / 1.061 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.001193/0.3885, allocations: 0.578 MB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3885, allocations: 16.02 kB / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.996e-05/0.3886, allocations: 36.7 kB / 1.37 GB, free: 7.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/0.3892, allocations: 312.5 kB / 1.371 GB, free: 7.426 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3892, allocations: 8 kB / 1.371 GB, free: 7.418 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.3892, allocations: 8 kB / 1.371 GB, free: 7.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.3895, allocations: 113.5 kB / 1.371 GB, free: 7.293 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3895, allocations: 3.984 kB / 1.371 GB, free: 7.289 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.3895, allocations: 3.938 kB / 1.371 GB, free: 7.285 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3895, allocations: 0 / 1.371 GB, free: 7.285 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.3897, allocations: 71.95 kB / 1.371 GB, free: 7.215 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008651/0.3906, allocations: 420.2 kB / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.391, allocations: 134.6 kB / 1.371 GB, free: 6.633 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.3911, allocations: 52.83 kB / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.3911, allocations: 0 / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.3914, allocations: 120.9 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.3914, allocations: 4 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0006138/0.392, allocations: 231.1 kB / 1.372 GB, free: 6.215 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.392, allocations: 55.41 kB / 1.372 GB, free: 6.148 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/0.3927, allocations: 0.5366 MB / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.3928, allocations: 25.7 kB / 1.372 GB, free: 5.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.3929, allocations: 176.5 kB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.393, allocations: 39.69 kB / 1.372 GB, free: 5.355 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3931, allocations: 65.97 kB / 1.373 GB, free: 5.281 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3933, allocations: 350.8 kB / 1.373 GB, free: 4.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.3935, allocations: 108.5 kB / 1.373 GB, free: 4.824 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.3937, allocations: 139.5 kB / 1.373 GB, free: 4.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.3941, allocations: 187 kB / 1.373 GB, free: 4.488 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3941, allocations: 7.938 kB / 1.373 GB, free: 4.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005992/0.3947, allocations: 329.3 kB / 1.374 GB, free: 4.152 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3947, allocations: 8 kB / 1.374 GB, free: 4.145 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3947, allocations: 64 / 1.374 GB, free: 4.145 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3947, allocations: 7.938 kB / 1.374 GB, free: 4.137 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.395, allocations: 55.91 kB / 1.374 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.395, allocations: 3.938 kB / 1.374 GB, free: 4.078 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3951, allocations: 23.94 kB / 1.374 GB, free: 4.055 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.3952, allocations: 8 kB / 1.374 GB, free: 4.047 MB / 1.061 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.0002075/0.3954, allocations: 181.7 kB / 1.374 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.3954, allocations: 35.77 kB / 1.374 GB, free: 3.824 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004704/0.3959, allocations: 216.7 kB / 1.374 GB, free: 3.609 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3959, allocations: 4 kB / 1.374 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3959, allocations: 0 / 1.374 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3959, allocations: 3.984 kB / 1.374 GB, free: 3.602 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.3962, allocations: 229.1 kB / 1.374 GB, free: 3.348 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3962, allocations: 0 / 1.374 GB, free: 3.348 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.399e-05/0.3963, allocations: 19.98 kB / 1.374 GB, free: 3.328 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3963, allocations: 0 / 1.374 GB, free: 3.328 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3963, allocations: 4 kB / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.3963, allocations: 3.938 kB / 1.374 GB, free: 3.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3963, allocations: 0 / 1.374 GB, free: 3.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.3967, allocations: 236.7 kB / 1.375 GB, free: 3.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.3968, allocations: 39.77 kB / 1.375 GB, free: 3.031 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.3968, allocations: 4 kB / 1.375 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3969, allocations: 11.92 kB / 1.375 GB, free: 3.016 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.397, allocations: 19.97 kB / 1.375 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.397, allocations: 8 kB / 1.375 GB, free: 2.988 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003888/0.3974, allocations: 327.1 kB / 1.375 GB, free: 2.668 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3974, allocations: 0 / 1.375 GB, free: 2.668 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000307/0.3977, allocations: 55.92 kB / 1.375 GB, free: 2.613 MB / 1.061 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.001681/0.3994, allocations: 459.9 kB / 1.375 GB, free: 2.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004606/0.3999, allocations: 191.8 kB / 1.376 GB, free: 2.152 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3999, allocations: 0 / 1.376 GB, free: 2.152 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.4, allocations: 66.06 kB / 1.376 GB, free: 2.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.4005, allocations: 93.72 kB / 1.376 GB, free: 2.012 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.4015, allocations: 0.6032 MB / 1.376 GB, free: 1.375 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.4017, allocations: 191.8 kB / 1.377 GB, free: 1.168 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.567e-05/0.4018, allocations: 31.42 kB / 1.377 GB, free: 1.137 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.4018, allocations: 0 / 1.377 GB, free: 1.137 MB / 1.061 GB Notification: Performance of Templates: time 0.008249/0.4101, allocations: 4.745 MB / 1.381 GB, free: 12.4 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.948115237057209]