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.001633/0.001633, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002036/0.002036, allocations: 217.5 kB / 23.01 MB, free: 4.609 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.163/3.163, allocations: 0.49 GB / 0.7958 GB, free: 33.28 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.002063/0.002063, allocations: 69.44 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3191, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003698/0.3228, allocations: 2.048 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002558/0.3253, allocations: 1.368 MB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.3255, allocations: 3.938 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.3259, allocations: 171.4 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004938/0.3264, allocations: 211.1 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.3268, allocations: 159.6 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.3272, allocations: 335.1 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3274, allocations: 36.86 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.3276, allocations: 171.3 kB / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.3279, allocations: 163.4 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.453e-05/0.3279, allocations: 12 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.3281, allocations: 67.89 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.3282, allocations: 91.67 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.3283, allocations: 131.1 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.3288, allocations: 378.3 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3288, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3288, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.3288, allocations: 4 kB / 1.332 GB, free: 12.1 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.001036/0.3299, allocations: 0.5702 MB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3299, allocations: 12.03 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.366e-05/0.33, allocations: 40.7 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.3306, allocations: 320.5 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.3306, allocations: 4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.3306, allocations: 12 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.3309, allocations: 113.5 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.3309, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.3309, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.3309, allocations: 4 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.3311, allocations: 55.97 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000868/0.3319, allocations: 467.5 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.3323, allocations: 138.6 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.3324, allocations: 44.83 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.3325, allocations: 4 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.3327, allocations: 119.2 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.3327, allocations: 4 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005833/0.3333, allocations: 226.3 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3334, allocations: 55.41 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006601/0.334, allocations: 0.5249 MB / 1.335 GB, free: 9.262 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.3341, allocations: 33.7 kB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.3342, allocations: 164.5 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.3343, allocations: 43.72 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3344, allocations: 77.91 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3345, allocations: 350.8 kB / 1.336 GB, free: 8.574 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.3347, allocations: 96.52 kB / 1.336 GB, free: 8.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.335, allocations: 139.5 kB / 1.336 GB, free: 8.336 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.3353, allocations: 179 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3353, allocations: 0 / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005903/0.3359, allocations: 329.3 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3359, allocations: 11.94 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3359, allocations: 0 / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.336, allocations: 4 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.3362, allocations: 55.83 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.3362, allocations: 4 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.3364, allocations: 19.95 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.3364, allocations: 15.98 kB / 1.336 GB, free: 7.715 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.0002086/0.3366, allocations: 186.2 kB / 1.337 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.3367, allocations: 35.7 kB / 1.337 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.3371, allocations: 200 kB / 1.337 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3371, allocations: 3.984 kB / 1.337 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3371, allocations: 0 / 1.337 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3371, allocations: 4 kB / 1.337 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.3374, allocations: 276.5 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3374, allocations: 0 / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.917e-05/0.3375, allocations: 8 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.3375, allocations: 3.938 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.3375, allocations: 7.984 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3375, allocations: 0 / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3375, allocations: 0 / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.3379, allocations: 212.8 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.338, allocations: 39.77 kB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.338, allocations: 3.938 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/0.3381, allocations: 15.98 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.3382, allocations: 19.97 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.3382, allocations: 4 kB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003793/0.3386, allocations: 323.1 kB / 1.338 GB, free: 6.328 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3386, allocations: 3.938 kB / 1.338 GB, free: 6.324 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003098/0.3389, allocations: 67.88 kB / 1.338 GB, free: 6.258 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 (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.001623/0.3405, allocations: 423.9 kB / 1.338 GB, free: 5.992 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004495/0.341, allocations: 187.8 kB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.341, allocations: 0 / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.3411, allocations: 51.97 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.3416, allocations: 103.5 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009779/0.3426, allocations: 0.5954 MB / 1.339 GB, free: 5.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.343, allocations: 0.7831 MB / 1.34 GB, free: 4.234 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.671e-05/0.3431, allocations: 39.42 kB / 1.34 GB, free: 4.199 MB / 1.029 GB Notification: Performance of SimCode: time 4.9e-07/0.3431, allocations: 0 / 1.34 GB, free: 4.199 MB / 1.029 GB Notification: Performance of Templates: time 0.008135/0.3512, allocations: 4.572 MB / 1.344 GB, free: 15.64 MB / 1.045 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/jenkins1/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: 11.987674508010969]