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.001378/0.001378, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.001598/0.001598, allocations: 163.3 kB / 22.46 MB, free: 5.371 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.523/1.523, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.738/2.738, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.617e-06/3.617e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.099e-05/4.46e-05, allocations: 6.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004872/0.004917, allocations: 1.971 MB / 0.9529 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003042/0.007959, allocations: 1.29 MB / 0.9542 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003074/0.008266, allocations: 7.938 kB / 0.9542 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.008866, allocations: 163.3 kB / 0.9543 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008476/0.009714, allocations: 215 kB / 0.9545 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.01026, allocations: 159.5 kB / 0.9547 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006235/0.01088, allocations: 343 kB / 0.955 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.01107, allocations: 36.84 kB / 0.9551 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000439/0.01151, allocations: 187.5 kB / 0.9552 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.01183, allocations: 147.6 kB / 0.9554 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.229e-05/0.01189, allocations: 16 kB / 0.9554 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.01208, allocations: 55.92 kB / 0.9554 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.01224, allocations: 103.6 kB / 0.9555 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.01238, allocations: 71.77 kB / 0.9556 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005969/0.01297, allocations: 374.7 kB / 0.956 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.01298, allocations: 0 / 0.956 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.01298, allocations: 4 kB / 0.956 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.01299, allocations: 7.875 kB / 0.956 GB, free: 6.406 MB / 0.8575 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.001384/0.01437, allocations: 0.5721 MB / 0.9565 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.01442, allocations: 12.02 kB / 0.9566 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.01456, allocations: 40.66 kB / 0.9566 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.01525, allocations: 320.1 kB / 0.9569 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.01528, allocations: 12.12 kB / 0.9569 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.0153, allocations: 4 kB / 0.9569 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.01563, allocations: 109.6 kB / 0.957 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.01564, allocations: 0 / 0.957 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.01566, allocations: 0 / 0.957 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.01566, allocations: 4 kB / 0.957 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.01588, allocations: 63.95 kB / 0.9571 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.01691, allocations: 432 kB / 0.9575 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.01735, allocations: 138.7 kB / 0.9576 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.01748, allocations: 48.83 kB / 0.9577 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.0175, allocations: 4 kB / 0.9577 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.01779, allocations: 114.2 kB / 0.9578 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/0.01779, allocations: 0 / 0.9578 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0006696/0.01846, allocations: 221.4 kB / 0.958 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.01852, allocations: 71.28 kB / 0.9581 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008218/0.01934, allocations: 0.5327 MB / 0.9586 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.01939, allocations: 33.7 kB / 0.9586 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.01956, allocations: 176.5 kB / 0.9588 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.01962, allocations: 31.75 kB / 0.9588 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.0198, allocations: 77.91 kB / 0.9589 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002097/0.02001, allocations: 350.8 kB / 0.9592 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.02023, allocations: 100.5 kB / 0.9593 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.02047, allocations: 135.6 kB / 0.9595 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.02094, allocations: 191.7 kB / 0.9596 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.02094, allocations: 0 / 0.9596 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007463/0.02169, allocations: 333.3 kB / 0.96 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.02171, allocations: 4 kB / 0.96 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.02172, allocations: 0 / 0.96 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.02174, allocations: 4 kB / 0.96 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.022, allocations: 51.91 kB / 0.96 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.02201, allocations: 7.938 kB / 0.96 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.02224, allocations: 23.94 kB / 0.96 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.02228, allocations: 8 kB / 0.96 GB, free: 2.055 MB / 0.8575 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.0002364/0.02252, allocations: 185.5 kB / 0.9602 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.02259, allocations: 39.7 kB / 0.9603 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.02309, allocations: 200.8 kB / 0.9605 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.0231, allocations: 0 / 0.9605 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.0231, allocations: 3.938 kB / 0.9605 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.02311, allocations: 7.984 kB / 0.9605 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.02347, allocations: 237.1 kB / 0.9607 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02347, allocations: 4 kB / 0.9607 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.015e-05/0.02356, allocations: 19.98 kB / 0.9607 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.02357, allocations: 7.922 kB / 0.9607 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.02359, allocations: 0 / 0.9607 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.02359, allocations: 0 / 0.9607 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02359, allocations: 4 kB / 0.9607 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/0.02407, allocations: 227 kB / 0.9609 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/0.02416, allocations: 43.75 kB / 0.961 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.02421, allocations: 3.938 kB / 0.961 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.02431, allocations: 15.98 kB / 0.961 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.02439, allocations: 19.97 kB / 0.961 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.02441, allocations: 7.938 kB / 0.961 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004543/0.02486, allocations: 327.1 kB / 0.9613 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.02486, allocations: 0 / 0.9613 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003444/0.02521, allocations: 63.92 kB / 0.9614 GB, free: 0.6055 MB / 0.8575 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.001822/0.02703, allocations: 453.2 kB / 0.9618 GB, free: 348 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005194/0.02755, allocations: 191.8 kB / 0.962 GB, free: 156 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.02755, allocations: 0 / 0.962 GB, free: 156 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.02773, allocations: 70.98 kB / 0.9621 GB, free: 88 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.02828, allocations: 84 kB / 0.9622 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.02952, allocations: 0.5541 MB / 0.9627 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.02975, allocations: 187.9 kB / 0.9629 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001732/0.02993, allocations: 54.94 kB / 0.9629 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.03004, allocations: 44.48 kB / 0.963 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.03004, allocations: 3.938 kB / 0.963 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of Templates: time 0.01158/0.04162, allocations: 4.49 MB / 0.9674 GB, free: 10.71 MB / 0.8731 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 -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/jenkins/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.257465057075024]