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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001358, allocations: 108 kB / 15.6 MB, free: 132 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.001395/0.001395, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.496/2.496, allocations: 390.3 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 67.89 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.7491, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003124/0.7523, allocations: 1.98 MB / 0.9517 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.7542, allocations: 1.201 MB / 0.9528 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.7544, allocations: 6.812 kB / 0.9529 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004691/0.7548, allocations: 162.6 kB / 0.953 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.7552, allocations: 148.1 kB / 0.9531 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.7558, allocations: 226.9 kB / 0.9534 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.7561, allocations: 319.4 kB / 0.9537 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.7563, allocations: 49.09 kB / 0.9537 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.7565, allocations: 141.2 kB / 0.9539 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.7567, allocations: 140.6 kB / 0.954 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.7567, allocations: 14.03 kB / 0.954 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.7569, allocations: 65.2 kB / 0.9541 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.757, allocations: 87.95 kB / 0.9541 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.7571, allocations: 125.6 kB / 0.9543 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.7575, allocations: 363 kB / 0.9546 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7575, allocations: 5.375 kB / 0.9546 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7575, allocations: 0 / 0.9546 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.7575, allocations: 0 / 0.9546 GB, free: 5.535 MB / 0.7169 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.0008212/0.7584, allocations: 0.6257 MB / 0.9552 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.7584, allocations: 14.03 kB / 0.9552 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.7585, allocations: 41.27 kB / 0.9553 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.7585, allocations: 35.66 kB / 0.9553 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.7589, allocations: 362.9 kB / 0.9557 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.759, allocations: 11.97 kB / 0.9557 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.759, allocations: 10.25 kB / 0.9557 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.7592, allocations: 107.8 kB / 0.9558 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.7592, allocations: 5.719 kB / 0.9558 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.7592, allocations: 0 / 0.9558 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.7592, allocations: 1.75 kB / 0.9558 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.7594, allocations: 62.8 kB / 0.9559 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.7601, allocations: 0.4921 MB / 0.9563 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.7604, allocations: 128.5 kB / 0.9565 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.7605, allocations: 56.8 kB / 0.9565 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.7606, allocations: 1.281 kB / 0.9565 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.7608, allocations: 116.6 kB / 0.9566 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.7608, allocations: 0 / 0.9566 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005217/0.7614, allocations: 221 kB / 0.9568 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.7614, allocations: 58.25 kB / 0.9569 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.7619, allocations: 0.5106 MB / 0.9574 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.7619, allocations: 31.08 kB / 0.9574 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.762, allocations: 168.9 kB / 0.9576 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.7621, allocations: 34.44 kB / 0.9576 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/0.7621, allocations: 69.45 kB / 0.9577 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.7622, allocations: 345.8 kB / 0.958 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.7624, allocations: 104.8 kB / 0.9581 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.7626, allocations: 134.9 kB / 0.9582 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.7629, allocations: 180.6 kB / 0.9584 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7629, allocations: 0 / 0.9584 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005016/0.7634, allocations: 323.2 kB / 0.9587 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.7634, allocations: 8.438 kB / 0.9587 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7634, allocations: 4.75 kB / 0.9587 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.7635, allocations: 2.25 kB / 0.9587 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.7637, allocations: 54.62 kB / 0.9588 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.7637, allocations: 2.219 kB / 0.9588 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.7639, allocations: 16.81 kB / 0.9588 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.7639, allocations: 12.45 kB / 0.9588 GB, free: 2.305 MB / 0.7169 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.0001505/0.764, allocations: 179.6 kB / 0.959 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.7641, allocations: 33.38 kB / 0.959 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.934e-05/0.7642, allocations: 45.69 kB / 0.9591 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.7642, allocations: 1.938 kB / 0.9591 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7642, allocations: 0 / 0.9591 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7642, allocations: 1.094 kB / 0.9591 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.7644, allocations: 296 kB / 0.9593 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.7644, allocations: 0 / 0.9593 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.7645, allocations: 17.8 kB / 0.9594 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.7645, allocations: 9.172 kB / 0.9594 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.7645, allocations: 5.375 kB / 0.9594 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7645, allocations: 1.156 kB / 0.9594 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7645, allocations: 4 kB / 0.9594 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.7649, allocations: 206.7 kB / 0.9596 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.597e-05/0.765, allocations: 114.5 kB / 0.9597 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.765, allocations: 14.11 kB / 0.9597 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.7651, allocations: 3.75 kB / 0.9597 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.7652, allocations: 22.91 kB / 0.9597 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.7652, allocations: 8.469 kB / 0.9597 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003039/0.7655, allocations: 324.5 kB / 0.96 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7655, allocations: 0 / 0.96 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000304/0.7659, allocations: 48.47 kB / 0.9601 GB, free: 1.316 MB / 0.7169 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.001675/0.7675, allocations: 1.059 MB / 0.9611 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000531/0.7681, allocations: 202.8 kB / 0.9613 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7681, allocations: 0 / 0.9613 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.7683, allocations: 63.42 kB / 0.9614 GB, free: 432 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.7688, allocations: 95.62 kB / 0.9615 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.7732, allocations: 3.131 MB / 0.9645 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.7737, allocations: 0.7809 MB / 0.9653 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002254/0.774, allocations: 55.31 kB / 0.9653 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.7742, allocations: 107.8 kB / 0.9654 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of SimCode: time 6.22e-07/0.7742, allocations: 0 / 0.9654 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.8017, allocations: 7.061 MB / 0.9723 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/8.532, allocations: 14.92 kB / 0.9724 GB, free: 9.945 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/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