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.000798/0.000798, allocations: 92.16 kB / 16.02 MB, free: 80 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.0007974/0.0007974, allocations: 173 kB / 16.92 MB, free: 6.652 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.292/1.292, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.475/2.475, allocations: 443.2 MB / 0.7181 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003056, allocations: 10.72 kB / 0.8801 GB, free: 42.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2672, allocations: 155.2 MB / 1.032 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002104/0.2693, allocations: 1.703 MB / 1.033 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.271, allocations: 1.166 MB / 1.034 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.2711, allocations: 7.938 kB / 1.034 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.2715, allocations: 147.6 kB / 1.035 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.2718, allocations: 143.5 kB / 1.035 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.2722, allocations: 206.2 kB / 1.035 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.2726, allocations: 287.2 kB / 1.035 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.2727, allocations: 48.38 kB / 1.035 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.2729, allocations: 131.3 kB / 1.035 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.2731, allocations: 135.4 kB / 1.035 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.2731, allocations: 4 kB / 1.035 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.2732, allocations: 51.91 kB / 1.036 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.2733, allocations: 79.73 kB / 1.036 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.2735, allocations: 136.9 kB / 1.036 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.2737, allocations: 287.5 kB / 1.036 GB, free: 284 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2737, allocations: 0 / 1.036 GB, free: 284 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2738, allocations: 0 / 1.036 GB, free: 284 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2738, allocations: 0 / 1.036 GB, free: 284 kB / 0.7794 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.0008039/0.2746, allocations: 0.5681 MB / 1.037 GB, free: 15.66 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2746, allocations: 8.031 kB / 1.037 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.2747, allocations: 36.56 kB / 1.037 GB, free: 15.62 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.2751, allocations: 386.1 kB / 1.037 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2752, allocations: 4 kB / 1.037 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.2752, allocations: 12 kB / 1.037 GB, free: 15.18 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.2754, allocations: 102.9 kB / 1.037 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2754, allocations: 0 / 1.037 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.2755, allocations: 8 kB / 1.037 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2755, allocations: 0 / 1.037 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.2756, allocations: 55.97 kB / 1.037 GB, free: 15.02 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007032/0.2763, allocations: 0.4925 MB / 1.038 GB, free: 14.47 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.2767, allocations: 142.6 kB / 1.038 GB, free: 14.32 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.2768, allocations: 52.77 kB / 1.038 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.2768, allocations: 7.984 kB / 1.038 GB, free: 14.26 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.277, allocations: 107.3 kB / 1.038 GB, free: 14.14 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.277, allocations: 0 / 1.038 GB, free: 14.14 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0004881/0.2775, allocations: 231.6 kB / 1.038 GB, free: 13.91 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.2776, allocations: 55.39 kB / 1.038 GB, free: 13.85 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.2781, allocations: 0.5054 MB / 1.039 GB, free: 13.33 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2781, allocations: 25.7 kB / 1.039 GB, free: 13.3 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2782, allocations: 164.4 kB / 1.039 GB, free: 13.14 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.2783, allocations: 39.55 kB / 1.039 GB, free: 13.1 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.2783, allocations: 33.7 kB / 1.039 GB, free: 13.06 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2784, allocations: 346.8 kB / 1.039 GB, free: 12.71 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.2786, allocations: 104.5 kB / 1.039 GB, free: 12.61 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.2788, allocations: 131.6 kB / 1.04 GB, free: 12.47 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.2791, allocations: 179 kB / 1.04 GB, free: 12.29 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2792, allocations: 0 / 1.04 GB, free: 12.29 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004808/0.2796, allocations: 329.6 kB / 1.04 GB, free: 11.96 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2797, allocations: 4 kB / 1.04 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2797, allocations: 7.938 kB / 1.04 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2797, allocations: 0 / 1.04 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.2799, allocations: 55.91 kB / 1.04 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2799, allocations: 0 / 1.04 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.28, allocations: 19.84 kB / 1.04 GB, free: 11.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.2801, allocations: 11.98 kB / 1.04 GB, free: 11.86 MB / 0.795 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.00016/0.2803, allocations: 191.2 kB / 1.04 GB, free: 11.67 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.2803, allocations: 31.62 kB / 1.04 GB, free: 11.64 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.15e-05/0.2804, allocations: 39.06 kB / 1.04 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2804, allocations: 0 / 1.04 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2804, allocations: 3.984 kB / 1.04 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2804, allocations: 3.984 kB / 1.04 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.2806, allocations: 301.4 kB / 1.041 GB, free: 11.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2806, allocations: 0 / 1.041 GB, free: 11.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.2807, allocations: 11.98 kB / 1.041 GB, free: 11.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2807, allocations: 8 kB / 1.041 GB, free: 11.23 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.2807, allocations: 3.938 kB / 1.041 GB, free: 11.22 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.2808, allocations: 7.984 kB / 1.041 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2808, allocations: 0 / 1.041 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.2811, allocations: 208.5 kB / 1.041 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.2812, allocations: 116.7 kB / 1.041 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.2812, allocations: 7.938 kB / 1.041 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.2813, allocations: 15.92 kB / 1.041 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.2814, allocations: 15.98 kB / 1.041 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.2814, allocations: 11.98 kB / 1.041 GB, free: 10.81 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003012/0.2817, allocations: 315.1 kB / 1.041 GB, free: 10.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2817, allocations: 0 / 1.041 GB, free: 10.5 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002698/0.282, allocations: 51.98 kB / 1.041 GB, free: 10.45 MB / 0.795 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.0009007/0.2829, allocations: 415.4 kB / 1.042 GB, free: 10.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003783/0.2833, allocations: 207.7 kB / 1.042 GB, free: 10 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2833, allocations: 0 / 1.042 GB, free: 10 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.2835, allocations: 55.97 kB / 1.042 GB, free: 9.945 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.2839, allocations: 82.52 kB / 1.042 GB, free: 9.867 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000803/0.2847, allocations: 0.6474 MB / 1.043 GB, free: 9.191 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.285, allocations: 0.7831 MB / 1.044 GB, free: 8.383 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.2851, allocations: 35.42 kB / 1.044 GB, free: 8.348 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.2851, allocations: 0 / 1.044 GB, free: 8.348 MB / 0.795 GB Notification: Performance of Templates: time 0.005983/0.2911, allocations: 4.318 MB / 1.048 GB, free: 4.039 MB / 0.795 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 -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