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.001915/0.001915, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002527/0.002527, allocations: 220 kB / 23.04 MB, free: 4.844 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: 7.77 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.086/3.086, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.001992/0.001992, allocations: 66.17 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003626/0.3313, allocations: 1.975 MB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002397/0.3337, allocations: 1.283 MB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.3338, allocations: 7.938 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004548/0.3343, allocations: 171.4 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005362/0.3348, allocations: 207.2 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.3353, allocations: 155.6 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004316/0.3357, allocations: 347 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.3359, allocations: 32.86 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.3361, allocations: 151.4 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.3364, allocations: 163.3 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.3364, allocations: 23.98 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.3365, allocations: 55.98 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.3367, allocations: 99.59 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.3368, allocations: 95.34 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000492/0.3373, allocations: 386.3 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3373, allocations: 4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3373, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3373, allocations: 0 / 1.332 GB, free: 11.82 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.001017/0.3384, allocations: 0.5702 MB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3384, allocations: 11.97 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.3385, allocations: 40.7 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/0.339, allocations: 320.5 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.339, allocations: 11.84 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.3391, allocations: 8 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.3393, allocations: 111.6 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3394, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3394, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3394, allocations: 4 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.3396, allocations: 67.89 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/0.3404, allocations: 428.2 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.3408, allocations: 134.7 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.3409, allocations: 44.83 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.3409, allocations: 4 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.3412, allocations: 111.3 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.3412, allocations: 3.938 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005725/0.3417, allocations: 241.3 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.3418, allocations: 55.41 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006577/0.3424, allocations: 0.5327 MB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.3425, allocations: 33.7 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.3426, allocations: 164.5 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.3427, allocations: 35.73 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.3428, allocations: 73.91 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.343, allocations: 350.8 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.3432, allocations: 100.5 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.3434, allocations: 143.6 kB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.3438, allocations: 190.9 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3438, allocations: 0 / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005941/0.3444, allocations: 337.3 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3444, allocations: 4 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3444, allocations: 0 / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.3444, allocations: 7.938 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.3447, allocations: 51.97 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3447, allocations: 4 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3448, allocations: 11.95 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.3449, allocations: 15.98 kB / 1.336 GB, free: 7.465 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.0002036/0.3451, allocations: 190.2 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/0.3452, allocations: 39.75 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004598/0.3456, allocations: 208.7 kB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3456, allocations: 3.938 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3456, allocations: 4 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3456, allocations: 7.984 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.3459, allocations: 237.1 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3459, allocations: 0 / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.508e-05/0.346, allocations: 15.98 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.346, allocations: 0 / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.346, allocations: 4 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.346, allocations: 7.938 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.346, allocations: 0 / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.3464, allocations: 227 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.3465, allocations: 43.8 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.3465, allocations: 4 kB / 1.337 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3466, allocations: 15.92 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.3467, allocations: 15.97 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3467, allocations: 8 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003723/0.3471, allocations: 323.1 kB / 1.338 GB, free: 6.074 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3471, allocations: 0 / 1.338 GB, free: 6.074 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000328/0.3474, allocations: 67.88 kB / 1.338 GB, free: 6.008 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 (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.001676/0.3491, allocations: 461.3 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000441/0.3495, allocations: 191.8 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3495, allocations: 0 / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.3497, allocations: 55.97 kB / 1.338 GB, free: 5.488 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.3502, allocations: 90.31 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009874/0.3512, allocations: 0.6071 MB / 1.339 GB, free: 4.773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.3514, allocations: 183.9 kB / 1.339 GB, free: 4.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.086e-05/0.3515, allocations: 39.42 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3515, allocations: 0 / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of Templates: time 0.007736/0.3592, allocations: 4.742 MB / 1.344 GB, free: 15.8 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.688948585884646]