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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0015/0.0015, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001598/0.001598, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.76/2.76, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 70.78 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4023, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004182/0.4066, allocations: 2.019 MB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.4089, allocations: 1.201 MB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.4091, allocations: 3.938 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005011/0.4097, allocations: 155.4 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004358/0.4101, allocations: 159.4 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/0.4107, allocations: 226.2 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.4112, allocations: 311.2 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.4114, allocations: 44.39 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.4117, allocations: 147.3 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.4119, allocations: 147.5 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.412, allocations: 16 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.4121, allocations: 55.97 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.4123, allocations: 91.67 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.4124, allocations: 123.2 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.4129, allocations: 366.7 kB / 1.032 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4129, allocations: 0 / 1.032 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4129, allocations: 4 kB / 1.032 GB, free: 13 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.4129, allocations: 0 / 1.032 GB, free: 13 MB / 0.8106 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.001126/0.414, allocations: 0.6185 MB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4141, allocations: 12.03 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.548e-05/0.4142, allocations: 32.56 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.4147, allocations: 382.1 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.4148, allocations: 8 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.4148, allocations: 4 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.4151, allocations: 112.3 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4151, allocations: 7.984 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.4151, allocations: 0 / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4151, allocations: 4 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.4153, allocations: 59.95 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000845/0.4161, allocations: 496.3 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.4165, allocations: 150.6 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.4166, allocations: 48.84 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.4167, allocations: 0 / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.4169, allocations: 114.9 kB / 1.034 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.417, allocations: 0 / 1.034 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005881/0.4175, allocations: 229.3 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.4176, allocations: 55.41 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.4182, allocations: 0.5054 MB / 1.034 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4183, allocations: 33.7 kB / 1.034 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.4184, allocations: 164.4 kB / 1.035 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.4184, allocations: 31.55 kB / 1.035 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.4186, allocations: 69.88 kB / 1.035 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4187, allocations: 354.8 kB / 1.035 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.4189, allocations: 100.5 kB / 1.035 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.4191, allocations: 132.1 kB / 1.035 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.4195, allocations: 179.5 kB / 1.035 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4195, allocations: 4 kB / 1.035 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005393/0.42, allocations: 321.2 kB / 1.036 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4201, allocations: 4 kB / 1.036 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4201, allocations: 3.938 kB / 1.036 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.4201, allocations: 4 kB / 1.036 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.4203, allocations: 47.91 kB / 1.036 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.4203, allocations: 7.938 kB / 1.036 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.4205, allocations: 23.83 kB / 1.036 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.4205, allocations: 12.06 kB / 1.036 GB, free: 8.504 MB / 0.8106 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.0001818/0.4207, allocations: 181.7 kB / 1.036 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.4208, allocations: 35.61 kB / 1.036 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.791e-05/0.4209, allocations: 39.06 kB / 1.036 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4209, allocations: 0 / 1.036 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4209, allocations: 0 / 1.036 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4209, allocations: 0 / 1.036 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.4211, allocations: 309.3 kB / 1.036 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4212, allocations: 0 / 1.036 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.4213, allocations: 16 kB / 1.036 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4213, allocations: 0 / 1.036 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.4213, allocations: 7.922 kB / 1.036 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4213, allocations: 0 / 1.036 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4213, allocations: 4 kB / 1.036 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.4217, allocations: 200.6 kB / 1.037 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.4218, allocations: 116.7 kB / 1.037 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.4218, allocations: 7.938 kB / 1.037 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/0.4219, allocations: 11.98 kB / 1.037 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.422, allocations: 19.98 kB / 1.037 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.422, allocations: 7.984 kB / 1.037 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003343/0.4224, allocations: 315.1 kB / 1.037 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4224, allocations: 0 / 1.037 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003028/0.4227, allocations: 59.89 kB / 1.037 GB, free: 7.102 MB / 0.8106 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.001013/0.4237, allocations: 423.4 kB / 1.037 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.4241, allocations: 199.8 kB / 1.038 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4242, allocations: 0 / 1.038 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.4243, allocations: 55.97 kB / 1.038 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.4248, allocations: 93.2 kB / 1.038 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008494/0.4256, allocations: 0.5202 MB / 1.038 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.426, allocations: 0.7909 MB / 1.039 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000131/0.4262, allocations: 54.94 kB / 1.039 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.288e-05/0.4263, allocations: 35.42 kB / 1.039 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.4263, allocations: 0 / 1.039 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of Templates: time 0.008536/0.4348, allocations: 4.057 MB / 1.043 GB, free: 1.039 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches