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.01147/0.01147, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.002142/0.002143, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.597/1.597, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.532/2.532, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 62.91 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3499, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003439/0.3534, allocations: 1.999 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.3554, allocations: 1.189 MB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.3556, allocations: 4 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.356, allocations: 171.4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.3564, allocations: 151.4 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.357, allocations: 232.1 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.3574, allocations: 311.2 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.3576, allocations: 52.36 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.3578, allocations: 147.4 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.358, allocations: 143.4 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.3581, allocations: 16 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.3582, allocations: 59.97 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3583, allocations: 83.73 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.3585, allocations: 131.1 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.3589, allocations: 362.4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3589, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3589, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.3589, allocations: 0 / 1.092 GB, free: 12.95 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.0009894/0.3599, allocations: 0.6301 MB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3599, allocations: 12.03 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/0.36, allocations: 38.73 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.499e-05/0.3601, allocations: 36.5 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.3606, allocations: 377.8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3607, allocations: 8 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3607, allocations: 8 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.3609, allocations: 110.8 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.361, allocations: 0 / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.361, allocations: 0 / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.361, allocations: 0 / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.3612, allocations: 67.94 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007866/0.362, allocations: 0.4925 MB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.3623, allocations: 130.7 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.3625, allocations: 52.83 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3625, allocations: 4 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.3627, allocations: 123.2 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.3627, allocations: 0 / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005159/0.3633, allocations: 213.4 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.3633, allocations: 55.41 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005347/0.3638, allocations: 0.5093 MB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3639, allocations: 25.7 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.364, allocations: 168.4 kB / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.364, allocations: 39.55 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3642, allocations: 69.88 kB / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3643, allocations: 346.8 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.3645, allocations: 100.5 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.3647, allocations: 143.6 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.3651, allocations: 176 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3651, allocations: 0 / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005378/0.3656, allocations: 313.2 kB / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3657, allocations: 7.938 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.3657, allocations: 8.062 kB / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3657, allocations: 3.938 kB / 1.096 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.3659, allocations: 51.97 kB / 1.097 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3659, allocations: 0 / 1.097 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.3661, allocations: 19.89 kB / 1.097 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.3661, allocations: 11.94 kB / 1.097 GB, free: 8.406 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.0001662/0.3663, allocations: 177.8 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.3663, allocations: 35.56 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.639e-05/0.3664, allocations: 39.12 kB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3664, allocations: 7.984 kB / 1.097 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3664, allocations: 3.938 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3664, allocations: 0 / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.3667, allocations: 305.3 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3667, allocations: 3.984 kB / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.708e-05/0.3668, allocations: 8 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.3668, allocations: 3.938 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3668, allocations: 11.98 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3668, allocations: 0 / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3668, allocations: 0 / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.3672, allocations: 199.8 kB / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3673, allocations: 120.7 kB / 1.097 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.3674, allocations: 4 kB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.466e-05/0.3675, allocations: 7.984 kB / 1.097 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.3676, allocations: 19.92 kB / 1.097 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3676, allocations: 8 kB / 1.097 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003235/0.3679, allocations: 319.1 kB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3679, allocations: 0 / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002947/0.3682, allocations: 59.89 kB / 1.098 GB, free: 7.008 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.001555/0.3698, allocations: 1.062 MB / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.3702, allocations: 195.8 kB / 1.099 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3702, allocations: 0 / 1.099 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.3704, allocations: 59.97 kB / 1.099 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.3708, allocations: 91.16 kB / 1.099 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.3746, allocations: 3.107 MB / 1.102 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.3751, allocations: 0.787 MB / 1.103 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001674/0.3752, allocations: 58.94 kB / 1.103 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.3754, allocations: 107.4 kB / 1.103 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.3754, allocations: 0 / 1.103 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.4027, allocations: 7.161 MB / 1.11 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/8.677, allocations: 0 / 1.11 GB, free: 10.5 MB / 0.8731 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