Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008174/0.0008174, allocations: 80.45 kB / 19.93 MB, free: 4.605 MB / 18.57 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.0007976/0.0007976, allocations: 173.2 kB / 23.22 MB, free: 1.316 MB / 18.57 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 0.8548/0.8548, allocations: 177.2 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.76/1.76, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.701e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002168/0.002185, allocations: 1.967 MB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.003552, allocations: 1.29 MB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.631e-05/0.003638, allocations: 4 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.003981, allocations: 171.2 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.0043, allocations: 211 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.004575, allocations: 163.5 kB / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.004847, allocations: 347 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.004972, allocations: 28.92 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.005132, allocations: 191.5 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.005281, allocations: 143.6 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.005304, allocations: 20 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.005399, allocations: 59.91 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.00548, allocations: 95.67 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.005541, allocations: 71.7 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.005837, allocations: 382.7 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.005839, allocations: 0 / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.92e-07/0.00584, allocations: 0 / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.005844, allocations: 0 / 1.006 GB, free: 7.852 MB / 0.9636 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.0006334/0.006477, allocations: 0.5702 MB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.00651, allocations: 8.75 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.006565, allocations: 44.69 kB / 1.007 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.006893, allocations: 316.1 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.006909, allocations: 12.12 kB / 1.007 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.006925, allocations: 11.94 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.007093, allocations: 115 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.007101, allocations: 0 / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.007114, allocations: 8 kB / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.007118, allocations: 0 / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.007229, allocations: 67.95 kB / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.007721, allocations: 428.2 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.007929, allocations: 130.8 kB / 1.008 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/0.007995, allocations: 44.83 kB / 1.008 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.008008, allocations: 4 kB / 1.008 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.008162, allocations: 119.3 kB / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.008163, allocations: 0 / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0003481/0.008511, allocations: 235.9 kB / 1.008 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.008541, allocations: 55.34 kB / 1.008 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.008928, allocations: 0.5366 MB / 1.009 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.008943, allocations: 29.7 kB / 1.009 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.00903, allocations: 168.5 kB / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.009057, allocations: 39.73 kB / 1.009 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.009128, allocations: 77.84 kB / 1.009 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.009213, allocations: 354.7 kB / 1.009 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.009336, allocations: 100.5 kB / 1.009 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.009468, allocations: 139.6 kB / 1.009 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.009669, allocations: 187 kB / 1.01 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.009671, allocations: 0 / 1.01 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000329/0.01, allocations: 334.3 kB / 1.01 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.01001, allocations: 7.938 kB / 1.01 GB, free: 3.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01002, allocations: 0 / 1.01 GB, free: 3.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.01003, allocations: 7.984 kB / 1.01 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.01015, allocations: 52.03 kB / 1.01 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01016, allocations: 7.938 kB / 1.01 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.759e-05/0.01023, allocations: 19.83 kB / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.01025, allocations: 15.98 kB / 1.01 GB, free: 3.48 MB / 0.9636 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.0001171/0.01037, allocations: 181.8 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.01039, allocations: 35.77 kB / 1.01 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.01065, allocations: 208.7 kB / 1.01 GB, free: 3.043 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01065, allocations: 0 / 1.01 GB, free: 3.043 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.01066, allocations: 11.94 kB / 1.01 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01066, allocations: 3.984 kB / 1.01 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.01081, allocations: 225.2 kB / 1.011 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.01081, allocations: 0 / 1.011 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.01085, allocations: 15.98 kB / 1.011 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.01086, allocations: 0 / 1.011 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01086, allocations: 4 kB / 1.011 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.01087, allocations: 0 / 1.011 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01087, allocations: 4 kB / 1.011 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.01108, allocations: 231 kB / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.01112, allocations: 47.75 kB / 1.011 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.01115, allocations: 8 kB / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.443e-05/0.01119, allocations: 7.984 kB / 1.011 GB, free: 2.449 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.01125, allocations: 19.97 kB / 1.011 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.01126, allocations: 11.94 kB / 1.011 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002179/0.01147, allocations: 323.1 kB / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01147, allocations: 0 / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001908/0.01167, allocations: 67.88 kB / 1.011 GB, free: 2.039 MB / 0.9636 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.0007517/0.01242, allocations: 443.8 kB / 1.012 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.01268, allocations: 187.8 kB / 1.012 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01268, allocations: 0 / 1.012 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.01277, allocations: 62.44 kB / 1.012 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.01304, allocations: 99.94 kB / 1.012 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.01363, allocations: 0.5943 MB / 1.013 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.01375, allocations: 195.9 kB / 1.013 GB, free: 0.6055 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.01381, allocations: 32.48 kB / 1.013 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.01381, allocations: 4 kB / 1.013 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of Templates: time 0.00447/0.01828, allocations: 4.76 MB / 1.018 GB, free: 11.82 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.912679667584598]