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.001649/0.001649, 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.00248/0.00248, allocations: 211 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.454/1.454, 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 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.103/3.103, allocations: 0.4892 GB / 0.7951 GB, free: 35.64 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.001995/0.001995, allocations: 69.06 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3248, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003925/0.3288, allocations: 1.976 MB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002517/0.3313, allocations: 1.275 MB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.3315, allocations: 7.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.3319, allocations: 167.4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005444/0.3325, allocations: 215.1 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.3329, allocations: 159.6 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005092/0.3334, allocations: 339.1 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.3336, allocations: 32.86 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.3338, allocations: 151.4 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.3341, allocations: 159.3 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.3342, allocations: 16 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.3343, allocations: 63.95 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.3345, allocations: 95.62 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3346, allocations: 99.33 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.3351, allocations: 390.3 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3351, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3351, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.3351, allocations: 0 / 1.331 GB, free: 12.69 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.001175/0.3363, allocations: 0.5741 MB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3363, allocations: 8.031 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.3364, allocations: 36.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005934/0.337, allocations: 320.5 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.337, allocations: 23.81 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3371, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.3373, allocations: 109.6 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3373, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3374, allocations: 8 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3374, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.3376, allocations: 59.95 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008604/0.3384, allocations: 432.1 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.3388, allocations: 134.8 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.3389, allocations: 44.83 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3389, allocations: 11.88 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.3392, allocations: 111.3 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.3392, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005845/0.3398, allocations: 244.7 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.3398, allocations: 59.34 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/0.3404, allocations: 0.5366 MB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3405, allocations: 29.69 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3406, allocations: 164.5 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.3406, allocations: 39.73 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.3408, allocations: 69.92 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3409, allocations: 350.8 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.3412, allocations: 104.5 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.3414, allocations: 139.6 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.3417, allocations: 187 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3417, allocations: 0 / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000588/0.3423, allocations: 333.3 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3424, allocations: 6.188 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3424, allocations: 0 / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.3424, allocations: 11.92 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.3426, allocations: 43.98 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3426, allocations: 11.98 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.3428, allocations: 15.95 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.3428, allocations: 15.98 kB / 1.335 GB, free: 8.32 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.0002101/0.343, allocations: 190.2 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.343, allocations: 39.77 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.3435, allocations: 204.7 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3435, allocations: 0 / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3435, allocations: 7.938 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3435, allocations: 4 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.3438, allocations: 237.1 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3438, allocations: 0 / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.078e-05/0.3439, allocations: 12 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.3439, allocations: 3.984 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.3439, allocations: 4 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3439, allocations: 7.875 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3439, allocations: 0 / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.3443, allocations: 222.9 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.3444, allocations: 39.8 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.3444, allocations: 8 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.3445, allocations: 11.94 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.3446, allocations: 23.95 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3446, allocations: 11.98 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003954/0.345, allocations: 323.1 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.345, allocations: 0 / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003056/0.3453, allocations: 63.89 kB / 1.337 GB, free: 6.875 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.00173/0.3471, allocations: 463 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004638/0.3475, allocations: 187.8 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3475, allocations: 0 / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.3477, allocations: 66.72 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.3481, allocations: 88.45 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3492, allocations: 0.6032 MB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.3494, allocations: 187.9 kB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3495, allocations: 35.42 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3495, allocations: 0 / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of Templates: time 0.008678/0.3582, allocations: 4.745 MB / 1.343 GB, free: 0.6602 MB / 1.029 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.476224857848138]