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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008336/0.008336, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001609/0.001609, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.461/2.461, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.3 kB / 0.9509 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3575, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004163/0.3617, allocations: 1.987 MB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.3641, allocations: 1.201 MB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.3642, allocations: 7.938 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.3648, allocations: 155.5 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.3651, allocations: 155.3 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005762/0.3657, allocations: 220.2 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.3661, allocations: 315.2 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.3663, allocations: 56.36 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.3665, allocations: 151.4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.3667, allocations: 155.4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.3668, allocations: 16 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.3669, allocations: 51.98 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.367, allocations: 95.66 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.3672, allocations: 123.2 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.3676, allocations: 370.4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3676, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3676, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.3676, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 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.001029/0.3687, allocations: 0.6338 MB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3687, allocations: 12.03 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/0.3688, allocations: 40.7 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.3693, allocations: 378.3 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3694, allocations: 8 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.3694, allocations: 8 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.3697, allocations: 107.2 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3697, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3697, allocations: 4 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3697, allocations: 4 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.3699, allocations: 59.95 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008102/0.3707, allocations: 0.4925 MB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.3711, allocations: 142.6 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3712, allocations: 48.83 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.3712, allocations: 4 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.3715, allocations: 114 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.3715, allocations: 0 / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.000544/0.372, allocations: 225.3 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.3721, allocations: 55.41 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/0.3727, allocations: 0.5015 MB / 1.096 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.3727, allocations: 33.7 kB / 1.096 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3729, allocations: 176.3 kB / 1.096 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.3729, allocations: 39.73 kB / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.373, allocations: 69.92 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3732, allocations: 346.8 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.3734, allocations: 100.5 kB / 1.096 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.3736, allocations: 131.6 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.374, allocations: 180 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.374, allocations: 0 / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005489/0.3745, allocations: 329.3 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3746, allocations: 7.938 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3746, allocations: 0 / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3746, allocations: 4 kB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.3749, allocations: 51.91 kB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3749, allocations: 0 / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.375, allocations: 12 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.375, allocations: 19.92 kB / 1.097 GB, free: 7.895 MB / 0.8575 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.0001992/0.3752, allocations: 185.8 kB / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.3753, allocations: 39.7 kB / 1.097 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.236e-05/0.3754, allocations: 35.11 kB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3754, allocations: 4 kB / 1.097 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3754, allocations: 0 / 1.097 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3754, allocations: 3.984 kB / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.3757, allocations: 297.5 kB / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.3758, allocations: 8 kB / 1.098 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-05/0.3758, allocations: 11.98 kB / 1.098 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3758, allocations: 3.938 kB / 1.098 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3759, allocations: 8 kB / 1.098 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3759, allocations: 3.984 kB / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3759, allocations: 0 / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.3763, allocations: 204.8 kB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3764, allocations: 116.9 kB / 1.098 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.3764, allocations: 7.938 kB / 1.098 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.3765, allocations: 11.98 kB / 1.098 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.3766, allocations: 19.98 kB / 1.098 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3766, allocations: 4 kB / 1.098 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003531/0.377, allocations: 315.1 kB / 1.098 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.377, allocations: 0 / 1.098 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003057/0.3773, allocations: 55.94 kB / 1.098 GB, free: 6.492 MB / 0.8575 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.001059/0.3784, allocations: 436.2 kB / 1.099 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.3788, allocations: 193.3 kB / 1.099 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3788, allocations: 0 / 1.099 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.379, allocations: 63.95 kB / 1.099 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.3795, allocations: 84.67 kB / 1.099 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.3803, allocations: 0.5233 MB / 1.1 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.3807, allocations: 0.7948 MB / 1.1 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.3808, allocations: 50.95 kB / 1.1 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.3809, allocations: 35.42 kB / 1.1 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3809, allocations: 0 / 1.1 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of Templates: time 0.008895/0.3898, allocations: 4.085 MB / 1.104 GB, free: 400 kB / 0.8575 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