Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",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.001627/0.001627, 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.001951/0.001951, allocations: 193.4 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.492/1.492, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.473/2.473, allocations: 390.3 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 63.89 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7744/0.7761, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.0032/0.7793, allocations: 1.988 MB / 0.9517 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.7813, allocations: 1.188 MB / 0.9528 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.7815, allocations: 11 kB / 0.9528 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.7819, allocations: 158.9 kB / 0.953 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.7823, allocations: 147.5 kB / 0.9531 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.7829, allocations: 226 kB / 0.9534 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.7832, allocations: 320.2 kB / 0.9537 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.7834, allocations: 52.44 kB / 0.9537 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.7836, allocations: 142 kB / 0.9538 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.7838, allocations: 140.2 kB / 0.954 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.7838, allocations: 13.78 kB / 0.954 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.784, allocations: 64.61 kB / 0.9541 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.7841, allocations: 93.55 kB / 0.9541 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.7843, allocations: 124.8 kB / 0.9543 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.7847, allocations: 363.5 kB / 0.9546 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7847, allocations: 0 / 0.9546 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.434e-06/0.7847, allocations: 5.312 kB / 0.9546 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.7847, allocations: 0 / 0.9546 GB, free: 5.461 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.001007/0.7857, allocations: 0.6248 MB / 0.9552 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.7858, allocations: 10.03 kB / 0.9552 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.7858, allocations: 45.67 kB / 0.9553 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.7859, allocations: 36.25 kB / 0.9553 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.7864, allocations: 362.2 kB / 0.9557 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.7864, allocations: 7.375 kB / 0.9557 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.7865, allocations: 9.719 kB / 0.9557 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.7867, allocations: 108.3 kB / 0.9558 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.7867, allocations: 3.938 kB / 0.9558 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.7868, allocations: 5.156 kB / 0.9558 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.7868, allocations: 2.094 kB / 0.9558 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.787, allocations: 64.52 kB / 0.9559 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007851/0.7878, allocations: 496.4 kB / 0.9563 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.7881, allocations: 140.4 kB / 0.9565 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.7883, allocations: 48.17 kB / 0.9565 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.7883, allocations: 2.406 kB / 0.9565 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.7886, allocations: 115.5 kB / 0.9566 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.7886, allocations: 0 / 0.9566 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005315/0.7891, allocations: 229.2 kB / 0.9568 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.7892, allocations: 52.81 kB / 0.9569 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.7897, allocations: 0.5116 MB / 0.9574 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.7897, allocations: 27.08 kB / 0.9574 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/0.7898, allocations: 168.9 kB / 0.9576 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.7899, allocations: 34.44 kB / 0.9576 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.79, allocations: 69.45 kB / 0.9577 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.79, allocations: 353.8 kB / 0.958 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.7902, allocations: 96.89 kB / 0.9581 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.7904, allocations: 135 kB / 0.9582 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.7908, allocations: 181.8 kB / 0.9584 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.7908, allocations: 0 / 0.9584 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005439/0.7913, allocations: 331.2 kB / 0.9587 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.7914, allocations: 9.406 kB / 0.9587 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.7914, allocations: 1.094 kB / 0.9587 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.7914, allocations: 2.156 kB / 0.9587 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.7916, allocations: 54.94 kB / 0.9588 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.7917, allocations: 1.969 kB / 0.9588 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.7918, allocations: 17.28 kB / 0.9588 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.7918, allocations: 16.39 kB / 0.9588 GB, free: 2.23 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,reaToInt2.y,reaToInt1.y,product.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.0001594/0.792, allocations: 183.1 kB / 0.959 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.792, allocations: 38.19 kB / 0.959 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.29e-05/0.7921, allocations: 34.06 kB / 0.9591 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7921, allocations: 1 kB / 0.9591 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7921, allocations: 1.156 kB / 0.9591 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7922, allocations: 0 / 0.9591 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.7924, allocations: 300.4 kB / 0.9593 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7924, allocations: 0 / 0.9593 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.7925, allocations: 18.64 kB / 0.9594 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.7925, allocations: 9 kB / 0.9594 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.7925, allocations: 6.172 kB / 0.9594 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7926, allocations: 0 / 0.9594 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7926, allocations: 1.156 kB / 0.9594 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.793, allocations: 209.2 kB / 0.9596 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.7931, allocations: 118.1 kB / 0.9597 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.7931, allocations: 10.12 kB / 0.9597 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.462e-05/0.7932, allocations: 7.281 kB / 0.9597 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.7933, allocations: 19.88 kB / 0.9597 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.7933, allocations: 9.094 kB / 0.9597 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003747/0.7937, allocations: 315.4 kB / 0.96 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.343e-06/0.7937, allocations: 0 / 0.96 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000309/0.794, allocations: 51.53 kB / 0.9601 GB, free: 1.246 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,product.y,reaToInt1.y,reaToInt2.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.001478/0.7955, allocations: 1.064 MB / 0.9611 GB, free: 476 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004433/0.796, allocations: 203.1 kB / 0.9613 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.796, allocations: 0 / 0.9613 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.7961, allocations: 63.42 kB / 0.9614 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.7966, allocations: 97.23 kB / 0.9615 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004353/0.801, allocations: 3.127 MB / 0.9645 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.8015, allocations: 0.79 MB / 0.9653 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001946/0.8017, allocations: 50.66 kB / 0.9653 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.8019, allocations: 108.1 kB / 0.9655 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8019, allocations: 0 / 0.9655 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.8346, allocations: 7.056 MB / 0.9723 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.724, allocations: 9.531 kB / 0.9723 GB, free: 9.883 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_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_Multiply.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches