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.000936/0.0009358, allocations: 91.38 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240 MB, free: 5.324 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.627/2.627, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005357/0.0005358, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8678/0.8683, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002223/0.8706, allocations: 1.658 MB / 0.9561 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.8723, allocations: 1.108 MB / 0.9571 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.8724, allocations: 6.094 kB / 0.9571 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.8728, allocations: 147.2 kB / 0.9573 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.8731, allocations: 127.2 kB / 0.9574 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.8735, allocations: 183.2 kB / 0.9576 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.8738, allocations: 263.4 kB / 0.9578 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.8739, allocations: 46.56 kB / 0.9579 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.8741, allocations: 120 kB / 0.958 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.8742, allocations: 125.3 kB / 0.9581 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.8742, allocations: 5.375 kB / 0.9581 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.8744, allocations: 47.12 kB / 0.9582 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.243e-05/0.8745, allocations: 77.2 kB / 0.9582 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.8745, allocations: 65.89 kB / 0.9583 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.8748, allocations: 286.5 kB / 0.9586 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8748, allocations: 4 kB / 0.9586 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8748, allocations: 3.938 kB / 0.9586 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.8748, allocations: 1.375 kB / 0.9586 GB, free: 4.637 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.0007098/0.8755, allocations: 0.5664 MB / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.8756, allocations: 9.625 kB / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.8756, allocations: 30.75 kB / 0.9592 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.8761, allocations: 362.2 kB / 0.9595 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.8761, allocations: 12.06 kB / 0.9595 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.8761, allocations: 9.5 kB / 0.9595 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.8763, allocations: 102.9 kB / 0.9596 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.8764, allocations: 0 / 0.9596 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.8764, allocations: 9.641 kB / 0.9596 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.8764, allocations: 5.234 kB / 0.9597 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.8766, allocations: 63.58 kB / 0.9597 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.8772, allocations: 0.4966 MB / 0.9602 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.8776, allocations: 135.5 kB / 0.9603 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.8777, allocations: 51.25 kB / 0.9604 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.8777, allocations: 5.922 kB / 0.9604 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.878, allocations: 114.7 kB / 0.9605 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.525e-06/0.878, allocations: 0 / 0.9605 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005199/0.8785, allocations: 215.4 kB / 0.9607 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.8786, allocations: 56.78 kB / 0.9608 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/0.8791, allocations: 0.5089 MB / 0.9612 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.8792, allocations: 30.83 kB / 0.9613 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.8793, allocations: 165.5 kB / 0.9614 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.8793, allocations: 42.59 kB / 0.9615 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/0.8793, allocations: 5.281 kB / 0.9615 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.308e-05/0.8794, allocations: 344.8 kB / 0.9618 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.8796, allocations: 99.34 kB / 0.9619 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.8799, allocations: 135 kB / 0.962 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.8801, allocations: 102.8 kB / 0.9621 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.8801, allocations: 3.953 kB / 0.9621 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005635/0.8807, allocations: 322.7 kB / 0.9624 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.8807, allocations: 6.531 kB / 0.9624 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8807, allocations: 0 / 0.9624 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.8808, allocations: 6.531 kB / 0.9625 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.881, allocations: 49.91 kB / 0.9625 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.881, allocations: 2.156 kB / 0.9625 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.8812, allocations: 22.52 kB / 0.9625 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.8812, allocations: 12.06 kB / 0.9625 GB, free: 1.598 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.8814, allocations: 183.1 kB / 0.9627 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.8815, allocations: 34.23 kB / 0.9627 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.406e-05/0.8816, allocations: 38.25 kB / 0.9628 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.8816, allocations: 4.766 kB / 0.9628 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.8816, allocations: 0.9375 kB / 0.9628 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8816, allocations: 0 / 0.9628 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.8819, allocations: 301.8 kB / 0.9631 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8819, allocations: 3.984 kB / 0.9631 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.882, allocations: 13.17 kB / 0.9631 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.882, allocations: 0 / 0.9631 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.882, allocations: 7.922 kB / 0.9631 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.882, allocations: 0 / 0.9631 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.882, allocations: 0 / 0.9631 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.8823, allocations: 207.3 kB / 0.9633 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.8824, allocations: 115.1 kB / 0.9634 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.8825, allocations: 6.047 kB / 0.9634 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.778e-05/0.8826, allocations: 13.08 kB / 0.9634 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.8827, allocations: 23.44 kB / 0.9634 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.8827, allocations: 8.812 kB / 0.9635 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003476/0.883, allocations: 316.3 kB / 0.9638 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.883, allocations: 0 / 0.9638 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003199/0.8834, allocations: 64.67 kB / 0.9638 GB, free: 0.6055 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/0.8845, allocations: 415.3 kB / 0.9642 GB, free: 420 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004158/0.8849, allocations: 187.4 kB / 0.9644 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8849, allocations: 3.938 kB / 0.9644 GB, free: 340 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.885, allocations: 60.25 kB / 0.9645 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.8855, allocations: 81.62 kB / 0.9645 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008737/0.8863, allocations: 0.5865 MB / 0.9651 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.8868, allocations: 0.7888 MB / 0.9659 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000157/0.8869, allocations: 50.83 kB / 0.9659 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.543e-05/0.887, allocations: 34.86 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.887, allocations: 1 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.01073/0.8978, allocations: 3.736 MB / 0.9696 GB, free: 13.25 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/jenkins/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