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.001281/0.001281, allocations: 106.1 kB / 16.36 MB, free: 6.34 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.001177/0.001178, allocations: 191.7 kB / 17.29 MB, free: 5.898 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.626/2.626, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 60.72 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3854, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004557/0.3901, allocations: 2.013 MB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002243/0.3923, allocations: 1.201 MB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.3925, allocations: 4 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004959/0.393, allocations: 159.4 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.3934, allocations: 155.4 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.394, allocations: 226.3 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004211/0.3945, allocations: 311.2 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.3947, allocations: 52.36 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.3949, allocations: 143.4 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.3951, allocations: 147.4 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.3951, allocations: 16 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.3953, allocations: 55.92 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.3955, allocations: 87.72 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.3956, allocations: 123.1 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.3961, allocations: 366.7 kB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3961, allocations: 0 / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.637e-06/0.3962, allocations: 0 / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.3962, allocations: 4 kB / 1.032 GB, free: 13.03 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.001187/0.3974, allocations: 0.6224 MB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3974, allocations: 12.03 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.156e-05/0.3975, allocations: 28.56 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.3981, allocations: 382.1 kB / 1.033 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3981, allocations: 8 kB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.3981, allocations: 8 kB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.3984, allocations: 109.6 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3984, allocations: 0 / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.3984, allocations: 4 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.3985, allocations: 4 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.3986, allocations: 55.91 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000852/0.3995, allocations: 0.4886 MB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.3999, allocations: 150.6 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4, allocations: 44.83 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.4, allocations: 4 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.4003, allocations: 118 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/0.4003, allocations: 0 / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005384/0.4008, allocations: 225.3 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.4009, allocations: 55.39 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.4015, allocations: 0.5054 MB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.4015, allocations: 25.7 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.4017, allocations: 168.4 kB / 1.035 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.4017, allocations: 35.55 kB / 1.035 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.4018, allocations: 73.88 kB / 1.035 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.402, allocations: 350.8 kB / 1.035 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.4022, allocations: 96.52 kB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.4024, allocations: 136.1 kB / 1.035 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.4028, allocations: 183.5 kB / 1.035 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4028, allocations: 0 / 1.035 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005397/0.4033, allocations: 313.2 kB / 1.036 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.4034, allocations: 8 kB / 1.036 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4034, allocations: 3.938 kB / 1.036 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4034, allocations: 0 / 1.036 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.4036, allocations: 55.91 kB / 1.036 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4036, allocations: 4 kB / 1.036 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.4038, allocations: 19.91 kB / 1.036 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.4038, allocations: 15.92 kB / 1.036 GB, free: 8.531 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.0001816/0.404, allocations: 185.7 kB / 1.036 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.4041, allocations: 31.62 kB / 1.036 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.633e-05/0.4042, allocations: 43.06 kB / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4042, allocations: 0 / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4042, allocations: 0 / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4042, allocations: 3.984 kB / 1.036 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.4045, allocations: 305.3 kB / 1.036 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4045, allocations: 0 / 1.036 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.4046, allocations: 11.98 kB / 1.036 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4046, allocations: 7.938 kB / 1.036 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.4046, allocations: 7.938 kB / 1.036 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4046, allocations: 0 / 1.036 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4046, allocations: 3.984 kB / 1.036 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.405, allocations: 196.7 kB / 1.037 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.4052, allocations: 116.7 kB / 1.037 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.4052, allocations: 7.938 kB / 1.037 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.791e-05/0.4053, allocations: 4 kB / 1.037 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.4054, allocations: 31.91 kB / 1.037 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.4054, allocations: 8 kB / 1.037 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003392/0.4058, allocations: 315.1 kB / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4058, allocations: 4 kB / 1.037 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003037/0.4061, allocations: 55.91 kB / 1.037 GB, free: 7.121 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.001054/0.4071, allocations: 418.1 kB / 1.037 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004193/0.4076, allocations: 187.9 kB / 1.038 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4076, allocations: 0 / 1.038 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.4077, allocations: 67.16 kB / 1.038 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.4082, allocations: 108.2 kB / 1.038 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009229/0.4091, allocations: 0.5204 MB / 1.038 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.4096, allocations: 0.7831 MB / 1.039 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.4097, allocations: 54.94 kB / 1.039 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.4098, allocations: 35.42 kB / 1.039 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.4098, allocations: 0 / 1.039 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of Templates: time 0.008637/0.4185, allocations: 4.053 MB / 1.043 GB, free: 1.062 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 cvode -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