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.001413/0.001413, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001431/0.001431, allocations: 157.6 kB / 23.01 MB, free: 4.605 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.58/1.58, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.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.717/2.717, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 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.002226/0.002226, allocations: 71.88 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3295, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003718/0.3332, allocations: 1.975 MB / 1.119 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002611/0.3359, allocations: 1.283 MB / 1.121 GB, free: 15.28 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.336, allocations: 7.938 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.3365, allocations: 159.4 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005745/0.3371, allocations: 211.2 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.3375, allocations: 159.5 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.338, allocations: 351 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.3381, allocations: 24.92 kB / 1.122 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.3384, allocations: 155.4 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.3387, allocations: 163.3 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.3387, allocations: 16 kB / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.3389, allocations: 55.98 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.339, allocations: 91.66 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.3391, allocations: 95.34 kB / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006791/0.3398, allocations: 390.3 kB / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3398, allocations: 0 / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3398, allocations: 8 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.3398, allocations: 0 / 1.122 GB, free: 13.43 MB / 1.076 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.001165/0.341, allocations: 0.5741 MB / 1.123 GB, free: 12.82 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.341, allocations: 8.031 kB / 1.123 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.3411, allocations: 36.7 kB / 1.123 GB, free: 12.78 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000656/0.3418, allocations: 320.5 kB / 1.123 GB, free: 12.44 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3418, allocations: 8 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3418, allocations: 7.938 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.3421, allocations: 124.1 kB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3421, allocations: 0 / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3422, allocations: 0 / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3422, allocations: 7.938 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.3423, allocations: 63.95 kB / 1.124 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00095/0.3433, allocations: 424.1 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.3437, allocations: 134.8 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.3438, allocations: 52.83 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3438, allocations: 4 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.3441, allocations: 111.2 kB / 1.124 GB, free: 11.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3441, allocations: 0 / 1.124 GB, free: 11.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0006166/0.3447, allocations: 233.3 kB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3447, allocations: 59.41 kB / 1.125 GB, free: 11.16 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/0.3454, allocations: 0.5327 MB / 1.125 GB, free: 10.62 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.3454, allocations: 33.7 kB / 1.125 GB, free: 10.58 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3456, allocations: 164.6 kB / 1.125 GB, free: 10.42 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.3456, allocations: 47.66 kB / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.3457, allocations: 77.91 kB / 1.125 GB, free: 10.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3459, allocations: 350.8 kB / 1.126 GB, free: 9.934 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.3461, allocations: 96.52 kB / 1.126 GB, free: 9.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.3464, allocations: 139.6 kB / 1.126 GB, free: 9.695 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.3467, allocations: 183.3 kB / 1.126 GB, free: 9.508 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3467, allocations: 0 / 1.126 GB, free: 9.508 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006667/0.3474, allocations: 345.2 kB / 1.126 GB, free: 9.164 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3474, allocations: 4 kB / 1.126 GB, free: 9.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3474, allocations: 0 / 1.126 GB, free: 9.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.3474, allocations: 7.938 kB / 1.126 GB, free: 9.152 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.3477, allocations: 43.97 kB / 1.126 GB, free: 9.109 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.3477, allocations: 7.938 kB / 1.126 GB, free: 9.102 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.3479, allocations: 19.89 kB / 1.126 GB, free: 9.082 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.3479, allocations: 11.98 kB / 1.127 GB, free: 9.07 MB / 1.076 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.0002496/0.3482, allocations: 181.9 kB / 1.127 GB, free: 8.883 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.3482, allocations: 35.77 kB / 1.127 GB, free: 8.848 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005269/0.3488, allocations: 215.3 kB / 1.127 GB, free: 8.633 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3488, allocations: 0 / 1.127 GB, free: 8.633 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3488, allocations: 0 / 1.127 GB, free: 8.633 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.3488, allocations: 7.984 kB / 1.127 GB, free: 8.625 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.3491, allocations: 233.2 kB / 1.127 GB, free: 8.367 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3491, allocations: 3.938 kB / 1.127 GB, free: 8.363 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.006e-05/0.3492, allocations: 15.98 kB / 1.127 GB, free: 8.348 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3492, allocations: 4 kB / 1.127 GB, free: 8.344 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.3492, allocations: 4 kB / 1.127 GB, free: 8.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.3492, allocations: 11.92 kB / 1.127 GB, free: 8.328 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3492, allocations: 3.938 kB / 1.127 GB, free: 8.324 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.3498, allocations: 224.8 kB / 1.127 GB, free: 8.086 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3499, allocations: 39.8 kB / 1.127 GB, free: 8.047 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.3499, allocations: 0 / 1.127 GB, free: 8.047 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.35, allocations: 15.92 kB / 1.127 GB, free: 8.031 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.3501, allocations: 19.97 kB / 1.127 GB, free: 8.012 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.3501, allocations: 8 kB / 1.127 GB, free: 8.004 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004352/0.3506, allocations: 327.1 kB / 1.128 GB, free: 7.688 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3506, allocations: 0 / 1.128 GB, free: 7.688 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003724/0.3509, allocations: 67.88 kB / 1.128 GB, free: 7.621 MB / 1.076 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.001999/0.3529, allocations: 450.6 kB / 1.128 GB, free: 7.359 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005878/0.3535, allocations: 190.2 kB / 1.128 GB, free: 7.176 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3535, allocations: 4 kB / 1.128 GB, free: 7.172 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.3537, allocations: 64.03 kB / 1.129 GB, free: 7.109 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.3543, allocations: 96.75 kB / 1.129 GB, free: 7.023 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.3556, allocations: 0.5663 MB / 1.129 GB, free: 6.426 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.3559, allocations: 187.8 kB / 1.129 GB, free: 6.219 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.3561, allocations: 50.94 kB / 1.129 GB, free: 6.168 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3562, allocations: 40.48 kB / 1.129 GB, free: 6.129 MB / 1.076 GB Notification: Performance of SimCode: time 7.41e-07/0.3562, allocations: 0 / 1.129 GB, free: 6.129 MB / 1.076 GB Notification: Performance of Templates: time 0.01013/0.3663, allocations: 4.495 MB / 1.134 GB, free: 1.699 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.891902976087295]