Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001223/0.001223, allocations: 105 kB / 15.99 MB, free: 6.344 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.001212/0.001212, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.331/1.331, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.553/2.553, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 64.88 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2939, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003324/0.2973, allocations: 2.045 MB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.2992, allocations: 1.177 MB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.392e-05/0.2993, allocations: 7.938 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.2997, allocations: 151.6 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.3, allocations: 139.5 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.3005, allocations: 198.5 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.3008, allocations: 319.1 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.301, allocations: 52.36 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.3012, allocations: 143.3 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.3013, allocations: 155.4 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.3014, allocations: 20 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.3015, allocations: 55.98 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.3016, allocations: 91.72 kB / 1.069 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.3017, allocations: 127.1 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.3021, allocations: 283.7 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3021, allocations: 3.938 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3021, allocations: 0 / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3021, allocations: 0 / 1.069 GB, free: 10.15 MB / 0.8419 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.0009232/0.303, allocations: 0.6185 MB / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.3031, allocations: 16.03 kB / 1.07 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.3031, allocations: 32.56 kB / 1.07 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.3036, allocations: 382 kB / 1.07 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.3036, allocations: 7.984 kB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3037, allocations: 8 kB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.3039, allocations: 103.8 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3039, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.304, allocations: 4 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.304, allocations: 0 / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.3041, allocations: 67.89 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007472/0.3049, allocations: 0.4886 MB / 1.071 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.3052, allocations: 142.7 kB / 1.071 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.3054, allocations: 48.81 kB / 1.071 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3054, allocations: 4 kB / 1.071 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.3056, allocations: 111.3 kB / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.3056, allocations: 0 / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005111/0.3062, allocations: 228 kB / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.3062, allocations: 51.41 kB / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/0.3068, allocations: 0.5093 MB / 1.072 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.3068, allocations: 25.7 kB / 1.072 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.307, allocations: 172.4 kB / 1.072 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.307, allocations: 31.56 kB / 1.072 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3071, allocations: 73.86 kB / 1.072 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3073, allocations: 350.8 kB / 1.072 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.3075, allocations: 100.5 kB / 1.072 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.3077, allocations: 139.6 kB / 1.073 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.308, allocations: 182.9 kB / 1.073 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.308, allocations: 4 kB / 1.073 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005268/0.3086, allocations: 313.2 kB / 1.073 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3086, allocations: 11.98 kB / 1.073 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3086, allocations: 3.938 kB / 1.073 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3086, allocations: 0 / 1.073 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.3088, allocations: 51.91 kB / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.3088, allocations: 0 / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.309, allocations: 19.84 kB / 1.073 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.309, allocations: 23.98 kB / 1.073 GB, free: 5.637 MB / 0.8419 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.0001736/0.3092, allocations: 183.5 kB / 1.073 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.3093, allocations: 31.62 kB / 1.073 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.856e-05/0.3093, allocations: 43.06 kB / 1.073 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3093, allocations: 0 / 1.073 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3093, allocations: 0 / 1.073 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3094, allocations: 0 / 1.073 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.3096, allocations: 305.3 kB / 1.074 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3096, allocations: 0 / 1.074 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.3097, allocations: 19.98 kB / 1.074 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3097, allocations: 7.938 kB / 1.074 GB, free: 5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3098, allocations: 3.938 kB / 1.074 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3098, allocations: 0 / 1.074 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3098, allocations: 0 / 1.074 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.3101, allocations: 204.7 kB / 1.074 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.3102, allocations: 108.7 kB / 1.074 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.3103, allocations: 11.92 kB / 1.074 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.3104, allocations: 8 kB / 1.074 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.3104, allocations: 23.97 kB / 1.074 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3105, allocations: 4 kB / 1.074 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003437/0.3108, allocations: 315.1 kB / 1.074 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3108, allocations: 0 / 1.074 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002797/0.3111, allocations: 63.91 kB / 1.074 GB, free: 4.238 MB / 0.8419 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.001405/0.3125, allocations: 426.1 kB / 1.075 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004065/0.3129, allocations: 192.1 kB / 1.075 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3129, allocations: 0 / 1.075 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3131, allocations: 67.91 kB / 1.075 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.3135, allocations: 94.66 kB / 1.075 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/0.3144, allocations: 0.631 MB / 1.076 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.3148, allocations: 0.7831 MB / 1.077 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.624e-05/0.3149, allocations: 35.42 kB / 1.077 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3149, allocations: 0 / 1.077 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of Templates: time 0.4134/0.7283, allocations: 4.389 MB / 1.081 GB, free: 21.54 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches