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.001617/0.001617, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001944/0.001944, allocations: 216.2 kB / 23.01 MB, free: 5.109 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.695/2.695, allocations: 476.8 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002098/0.002098, allocations: 62.8 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3244, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003714/0.3281, allocations: 2.063 MB / 1.287 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.3305, allocations: 1.364 MB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.3307, allocations: 7.938 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004682/0.3311, allocations: 151.4 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.3316, allocations: 215.2 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.332, allocations: 167.6 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.3325, allocations: 335.1 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.3326, allocations: 44.83 kB / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.3329, allocations: 159.4 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.3331, allocations: 171.3 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.3332, allocations: 16 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.3333, allocations: 47.98 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.3334, allocations: 99.66 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.3336, allocations: 131.1 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.3341, allocations: 382.3 kB / 1.29 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3341, allocations: 4 kB / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3341, allocations: 0 / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3341, allocations: 0 / 1.29 GB, free: 5.953 MB / 0.9825 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.001065/0.3352, allocations: 0.5701 MB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3352, allocations: 12.03 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.743e-05/0.3353, allocations: 36.7 kB / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.3359, allocations: 320.5 kB / 1.291 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.3359, allocations: 19.98 kB / 1.291 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3359, allocations: 12 kB / 1.291 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.3362, allocations: 105.5 kB / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3362, allocations: 0 / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3362, allocations: 8 kB / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3362, allocations: 0 / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.3364, allocations: 67.83 kB / 1.291 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008531/0.3373, allocations: 471.5 kB / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.3376, allocations: 130.7 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3378, allocations: 44.83 kB / 1.292 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.3378, allocations: 4 kB / 1.292 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.338, allocations: 123.2 kB / 1.292 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.338, allocations: 0 / 1.292 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005652/0.3386, allocations: 225.3 kB / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.3387, allocations: 55.41 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000656/0.3393, allocations: 0.525 MB / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.3394, allocations: 33.69 kB / 1.292 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.3395, allocations: 172.4 kB / 1.293 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.3396, allocations: 39.67 kB / 1.293 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3397, allocations: 73.92 kB / 1.293 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3398, allocations: 350.8 kB / 1.293 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.34, allocations: 100.5 kB / 1.293 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.3403, allocations: 131.6 kB / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.3406, allocations: 188.3 kB / 1.293 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3406, allocations: 4 kB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005585/0.3412, allocations: 325.2 kB / 1.294 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3412, allocations: 11.88 kB / 1.294 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3412, allocations: 0 / 1.294 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3412, allocations: 4 kB / 1.294 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.3414, allocations: 48.03 kB / 1.294 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3415, allocations: 7.938 kB / 1.294 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.3416, allocations: 15.94 kB / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.3416, allocations: 12 kB / 1.294 GB, free: 1.566 MB / 0.9825 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.0001947/0.3418, allocations: 181.8 kB / 1.294 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.3419, allocations: 39.7 kB / 1.294 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/0.3423, allocations: 201.8 kB / 1.294 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3423, allocations: 0 / 1.294 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3423, allocations: 0 / 1.294 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3423, allocations: 7.984 kB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.3426, allocations: 268.6 kB / 1.295 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3426, allocations: 3.984 kB / 1.295 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.596e-05/0.3427, allocations: 12 kB / 1.295 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3427, allocations: 3.938 kB / 1.295 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3427, allocations: 7.984 kB / 1.295 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3427, allocations: 0 / 1.295 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3427, allocations: 3.938 kB / 1.295 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.3431, allocations: 216.8 kB / 1.295 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.3432, allocations: 39.75 kB / 1.295 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.3432, allocations: 7.938 kB / 1.295 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.403e-05/0.3433, allocations: 11.98 kB / 1.295 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.3434, allocations: 11.98 kB / 1.295 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.3434, allocations: 7.984 kB / 1.295 GB, free: 500 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003792/0.3438, allocations: 331.1 kB / 1.295 GB, free: 168 kB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3438, allocations: 0 / 1.295 GB, free: 168 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002928/0.3441, allocations: 59.89 kB / 1.295 GB, free: 108 kB / 0.9825 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 (13): * Single equations (assignments): 9 * 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.001611/0.3457, allocations: 419.9 kB / 1.296 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.3461, allocations: 179.9 kB / 1.296 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3461, allocations: 3.938 kB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3463, allocations: 60.03 kB / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.3467, allocations: 95.86 kB / 1.296 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009805/0.3477, allocations: 0.5837 MB / 1.297 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.3481, allocations: 0.787 MB / 1.297 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/0.3482, allocations: 35.42 kB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.3482, allocations: 0 / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of Templates: time 0.007805/0.356, allocations: 4.571 MB / 1.302 GB, free: 9.5 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.725850310991518]