Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 200.7 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.5 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001454, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6514/0.6529, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002907/0.6558, allocations: 2.04 MB / 0.9516 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.6574, allocations: 1.19 MB / 0.9527 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.6576, allocations: 1.594 kB / 0.9527 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.658, allocations: 146.5 kB / 0.9529 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.6582, allocations: 143.3 kB / 0.953 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.6587, allocations: 200 kB / 0.9532 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.659, allocations: 294.2 kB / 0.9535 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.6591, allocations: 50.72 kB / 0.9535 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.6593, allocations: 131.7 kB / 0.9537 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.6594, allocations: 140.7 kB / 0.9538 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.6595, allocations: 6.562 kB / 0.9538 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.6596, allocations: 52.94 kB / 0.9539 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.6597, allocations: 82.42 kB / 0.9539 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.6598, allocations: 116.8 kB / 0.9541 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.6601, allocations: 298 kB / 0.9543 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6601, allocations: 0 / 0.9543 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6601, allocations: 5.125 kB / 0.9543 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.6601, allocations: 0 / 0.9543 GB, free: 5.641 MB / 0.7169 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.0008363/0.661, allocations: 0.6173 MB / 0.9549 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.661, allocations: 9.812 kB / 0.955 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.6611, allocations: 35.69 kB / 0.955 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.6615, allocations: 370.6 kB / 0.9553 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.6615, allocations: 4.75 kB / 0.9553 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.6615, allocations: 9.469 kB / 0.9554 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.6618, allocations: 112 kB / 0.9555 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.6618, allocations: 0 / 0.9555 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.6618, allocations: 5.281 kB / 0.9555 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6618, allocations: 5.25 kB / 0.9555 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.662, allocations: 55.38 kB / 0.9555 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.6626, allocations: 0.4946 MB / 0.956 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.663, allocations: 134.2 kB / 0.9561 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.6631, allocations: 48.14 kB / 0.9562 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.6631, allocations: 6.25 kB / 0.9562 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.6634, allocations: 111.8 kB / 0.9563 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.6634, allocations: 0 / 0.9563 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005093/0.6639, allocations: 229.7 kB / 0.9565 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.6639, allocations: 56.48 kB / 0.9566 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.6644, allocations: 0.5063 MB / 0.9571 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.6644, allocations: 31.98 kB / 0.9571 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.6645, allocations: 169 kB / 0.9573 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.6646, allocations: 39.45 kB / 0.9573 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.898e-05/0.6647, allocations: 64.56 kB / 0.9574 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.42e-05/0.6647, allocations: 349.7 kB / 0.9577 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.6649, allocations: 95.95 kB / 0.9578 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.6651, allocations: 131.2 kB / 0.9579 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.6654, allocations: 184.1 kB / 0.9581 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6654, allocations: 0 / 0.9581 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005139/0.666, allocations: 327.6 kB / 0.9584 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.666, allocations: 5.875 kB / 0.9584 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.666, allocations: 3.938 kB / 0.9584 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.666, allocations: 2.656 kB / 0.9584 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.6662, allocations: 53.75 kB / 0.9585 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6663, allocations: 6.172 kB / 0.9585 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.6664, allocations: 17.91 kB / 0.9585 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.6664, allocations: 16.36 kB / 0.9585 GB, free: 2.461 MB / 0.7169 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.0001418/0.6666, allocations: 182.3 kB / 0.9587 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.6666, allocations: 30.5 kB / 0.9587 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/0.6667, allocations: 37.5 kB / 0.9587 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6667, allocations: 2.188 kB / 0.9587 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6667, allocations: 4 kB / 0.9587 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6667, allocations: 3.984 kB / 0.9587 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.6669, allocations: 300.5 kB / 0.959 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.667, allocations: 1 kB / 0.959 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.667, allocations: 12.39 kB / 0.959 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.667, allocations: 5.109 kB / 0.959 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.6671, allocations: 5.875 kB / 0.959 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6671, allocations: 8.984 kB / 0.9591 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.6671, allocations: 0 / 0.9591 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.6674, allocations: 213.4 kB / 0.9593 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.6675, allocations: 118 kB / 0.9594 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.6675, allocations: 6.188 kB / 0.9594 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.6676, allocations: 11.36 kB / 0.9594 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.6677, allocations: 15.55 kB / 0.9594 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.6677, allocations: 9.328 kB / 0.9594 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003083/0.6681, allocations: 310.8 kB / 0.9597 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6681, allocations: 5.031 kB / 0.9597 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003007/0.6684, allocations: 55.92 kB / 0.9598 GB, free: 1.473 MB / 0.7169 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 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0009444/0.6693, allocations: 416.5 kB / 0.9602 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003998/0.6697, allocations: 204.6 kB / 0.9604 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.6698, allocations: 0.8438 kB / 0.9604 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.6699, allocations: 53.81 kB / 0.9604 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.6704, allocations: 82.34 kB / 0.9605 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/0.6712, allocations: 0.6363 MB / 0.9611 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.6714, allocations: 0.7889 MB / 0.9619 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.6715, allocations: 31.08 kB / 0.9619 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.6715, allocations: 5.031 kB / 0.9619 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.007523/0.6791, allocations: 4.384 MB / 0.9662 GB, free: 13.65 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches