Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001767/0.001768, allocations: 98.92 kB / 16.35 MB, free: 5.828 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.002299/0.002299, allocations: 193.3 kB / 17.29 MB, free: 5.484 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.84 kB / 0.8707 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3587, allocations: 151.6 MB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003713/0.3625, allocations: 2.022 MB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002487/0.365, allocations: 1.193 MB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.3652, allocations: 7.938 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.3658, allocations: 167.4 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.3664, allocations: 151.4 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006554/0.3671, allocations: 223.9 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.3675, allocations: 307.2 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.3677, allocations: 56.36 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.3679, allocations: 139.4 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.3682, allocations: 151.4 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.3682, allocations: 12 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.3684, allocations: 59.97 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.3685, allocations: 91.67 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.3687, allocations: 127.1 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.3692, allocations: 366.7 kB / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3692, allocations: 0 / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.976e-06/0.3693, allocations: 0 / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.3693, allocations: 0 / 1.024 GB, free: 4.75 MB / 0.795 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.001148/0.3704, allocations: 0.6147 MB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.3705, allocations: 8.922 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.3706, allocations: 36.47 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.3712, allocations: 386.1 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.3712, allocations: 8 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.3712, allocations: 8 kB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.3715, allocations: 105.6 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3715, allocations: 4 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3715, allocations: 0 / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3715, allocations: 0 / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.3717, allocations: 59.95 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008641/0.3726, allocations: 0.4925 MB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.3729, allocations: 134.7 kB / 1.025 GB, free: 2.754 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.3731, allocations: 52.78 kB / 1.026 GB, free: 2.699 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3731, allocations: 7.984 kB / 1.026 GB, free: 2.691 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.3733, allocations: 111.4 kB / 1.026 GB, free: 2.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 3.687e-06/0.3734, allocations: 3.984 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0005359/0.3739, allocations: 226.4 kB / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3739, allocations: 51.41 kB / 1.026 GB, free: 2.277 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/0.3745, allocations: 0.5132 MB / 1.026 GB, free: 1.758 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.3745, allocations: 29.7 kB / 1.026 GB, free: 1.723 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.3746, allocations: 156.5 kB / 1.027 GB, free: 1.566 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.3747, allocations: 43.53 kB / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3748, allocations: 69.88 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.375, allocations: 346.8 kB / 1.027 GB, free: 1.102 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.3751, allocations: 96.52 kB / 1.027 GB, free: 1.008 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.3754, allocations: 144.1 kB / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.3757, allocations: 183.5 kB / 1.027 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3757, allocations: 8 kB / 1.027 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005119/0.3762, allocations: 313.2 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3762, allocations: 4.062 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.3763, allocations: 11.94 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3763, allocations: 0 / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.3765, allocations: 51.91 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3765, allocations: 0 / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.3767, allocations: 23.83 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.3767, allocations: 12 kB / 1.028 GB, free: 256 kB / 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.0001824/0.3769, allocations: 185.7 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.377, allocations: 35.56 kB / 1.028 GB, free: 24 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.205e-05/0.3771, allocations: 39.06 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3771, allocations: 4 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3771, allocations: 0 / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3771, allocations: 0 / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.3774, allocations: 305.3 kB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3774, allocations: 4 kB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-05/0.3775, allocations: 8 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3775, allocations: 0 / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.3775, allocations: 11.92 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3775, allocations: 0 / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3775, allocations: 4 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.3779, allocations: 204.6 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.378, allocations: 108.7 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.3781, allocations: 7.938 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.3782, allocations: 11.98 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.3782, allocations: 15.98 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.3783, allocations: 7.984 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003466/0.3786, allocations: 315.1 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 6.92e-07/0.3786, allocations: 0 / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003161/0.379, allocations: 63.89 kB / 1.029 GB, free: 14.85 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.001223/0.3802, allocations: 418 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004525/0.3806, allocations: 199.8 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3807, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.3808, allocations: 64.09 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.3813, allocations: 100.5 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008517/0.3822, allocations: 0.516 MB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3825, allocations: 0.787 MB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.3827, allocations: 54.94 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.026e-05/0.3828, allocations: 43.42 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3828, allocations: 3.938 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.008331/0.3911, allocations: 4.048 MB / 1.035 GB, free: 8.793 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches