Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_10_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.001026/0.001026, 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.001058/0.001059, allocations: 198 kB / 16.54 MB, free: 6.672 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.502/2.502, allocations: 437.1 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 0.8694 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6342/0.6356, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00331/0.6389, allocations: 1.993 MB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.6408, allocations: 1.209 MB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.6409, allocations: 0 / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000419/0.6413, allocations: 163.4 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.6417, allocations: 155.4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.6422, allocations: 225.4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.6425, allocations: 307.2 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.6427, allocations: 64.2 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.6429, allocations: 135.5 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.6431, allocations: 147.4 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.6431, allocations: 16 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.6433, allocations: 59.89 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.6434, allocations: 83.75 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.6435, allocations: 127.1 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.6439, allocations: 361 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.6439, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6439, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.6439, allocations: 3.938 kB / 1.022 GB, free: 13.41 MB / 0.7794 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.0009001/0.6448, allocations: 0.6108 MB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.6449, allocations: 12.03 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.6449, allocations: 34.75 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.73e-05/0.645, allocations: 36.47 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.6455, allocations: 374 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.6455, allocations: 8 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.6455, allocations: 15.98 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.6458, allocations: 105.5 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.6458, allocations: 4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.6458, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.6458, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.646, allocations: 67.89 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.6467, allocations: 496.4 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.6471, allocations: 134.7 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.6472, allocations: 56.77 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.6472, allocations: 8 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.6475, allocations: 108.8 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.6475, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.000496/0.648, allocations: 228.1 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.648, allocations: 51.41 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.6485, allocations: 0.517 MB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.6485, allocations: 29.7 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.6487, allocations: 172.4 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.6487, allocations: 31.55 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.6488, allocations: 73.95 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.6489, allocations: 342.8 kB / 1.026 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.6491, allocations: 104.5 kB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.6493, allocations: 135.6 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.6496, allocations: 183.9 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6496, allocations: 0 / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004964/0.6501, allocations: 325.1 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.6502, allocations: 9.5 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6502, allocations: 4.062 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.6502, allocations: 4 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.6504, allocations: 51.91 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.6504, allocations: 3.984 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.6506, allocations: 23.84 kB / 1.027 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.6506, allocations: 12 kB / 1.027 GB, free: 8.855 MB / 0.7794 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.0001745/0.6508, allocations: 185.7 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.6509, allocations: 39.55 kB / 1.027 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.6509, allocations: 35.12 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.6509, allocations: 4 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.651, allocations: 0 / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.651, allocations: 0 / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.6512, allocations: 305.4 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.6512, allocations: 0 / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.6513, allocations: 11.98 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.6513, allocations: 7.938 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.6513, allocations: 0 / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6513, allocations: 0 / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6514, allocations: 3.938 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.6517, allocations: 212.7 kB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.6518, allocations: 116.6 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.6518, allocations: 7.922 kB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.6519, allocations: 8 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.652, allocations: 19.97 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.652, allocations: 4 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002992/0.6523, allocations: 323.1 kB / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6523, allocations: 0 / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002749/0.6526, allocations: 56 kB / 1.028 GB, free: 7.453 MB / 0.7794 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.001447/0.6541, allocations: 1.054 MB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003949/0.6545, allocations: 203.8 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6545, allocations: 0 / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.6546, allocations: 63.95 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.6551, allocations: 80.39 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.6585, allocations: 3.131 MB / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.6588, allocations: 0.7868 MB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.659, allocations: 62.92 kB / 1.033 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.6591, allocations: 107.4 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.6592, allocations: 0 / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.6819, allocations: 7.043 MB / 1.04 GB, free: 11.08 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.73, allocations: 12.86 kB / 1.04 GB, free: 11.07 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches