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.005002/0.005002, allocations: 107.8 kB / 15.74 MB, free: 6.441 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.00116/0.00116, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.459/2.459, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 64 kB / 0.9504 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.346, allocations: 140.4 MB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003862/0.3499, allocations: 1.991 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002346/0.3523, allocations: 1.197 MB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.3525, allocations: 7.938 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006114/0.3532, allocations: 163.4 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004315/0.3536, allocations: 147.4 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006794/0.3543, allocations: 230.8 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004294/0.3547, allocations: 315.2 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.355, allocations: 44.36 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.3552, allocations: 139.5 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.3554, allocations: 155.4 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.3554, allocations: 12 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.3556, allocations: 63.97 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.3557, allocations: 87.67 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.3559, allocations: 123.1 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.3563, allocations: 366.4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3563, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3563, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.3564, allocations: 0 / 1.092 GB, free: 12.93 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.001097/0.3575, allocations: 0.6302 MB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3575, allocations: 8.031 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.3576, allocations: 38.75 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.3577, allocations: 32.56 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.3582, allocations: 373.8 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3582, allocations: 8 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.3582, allocations: 8 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.3585, allocations: 105.6 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3586, allocations: 4 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.3586, allocations: 7.984 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3586, allocations: 0 / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.3588, allocations: 63.95 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009155/0.3597, allocations: 0.4964 MB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.3601, allocations: 142.6 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3602, allocations: 48.84 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.3603, allocations: 3.984 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.3605, allocations: 111.3 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.3606, allocations: 4 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005526/0.3611, allocations: 228.3 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.3612, allocations: 51.41 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005591/0.3617, allocations: 0.5093 MB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.3618, allocations: 25.7 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3619, allocations: 164.4 kB / 1.095 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.362, allocations: 43.53 kB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3621, allocations: 69.88 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3622, allocations: 350.8 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.3624, allocations: 96.52 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.3627, allocations: 131.6 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.363, allocations: 192 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.363, allocations: 0 / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005876/0.3636, allocations: 313.2 kB / 1.096 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3637, allocations: 13.66 kB / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3637, allocations: 0 / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3637, allocations: 4 kB / 1.096 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.3639, allocations: 47.91 kB / 1.097 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.364, allocations: 4 kB / 1.097 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.3641, allocations: 19.95 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.3641, allocations: 15.94 kB / 1.097 GB, free: 8.375 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,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.0002021/0.3644, allocations: 185.7 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.3644, allocations: 31.56 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.876e-05/0.3645, allocations: 35.12 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3645, allocations: 0 / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.3645, allocations: 4 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.3645, allocations: 0 / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.3648, allocations: 305.3 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3648, allocations: 4 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.949e-05/0.3649, allocations: 15.98 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3649, allocations: 3.938 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3649, allocations: 4 kB / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3649, allocations: 0 / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3649, allocations: 4 kB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.3653, allocations: 204.6 kB / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3655, allocations: 120.6 kB / 1.097 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.3655, allocations: 8 kB / 1.097 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.755e-05/0.3656, allocations: 7.984 kB / 1.097 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.3657, allocations: 15.98 kB / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.3657, allocations: 7.984 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003768/0.3661, allocations: 315.1 kB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3661, allocations: 0 / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003283/0.3664, allocations: 59.89 kB / 1.098 GB, free: 6.977 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,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.002022/0.3685, allocations: 1.066 MB / 1.099 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004411/0.3689, allocations: 189.8 kB / 1.099 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3689, allocations: 3.938 kB / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.3691, allocations: 63.91 kB / 1.099 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.3696, allocations: 96.8 kB / 1.099 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.3735, allocations: 3.103 MB / 1.102 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.3739, allocations: 0.787 MB / 1.103 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.3741, allocations: 50.95 kB / 1.103 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.3742, allocations: 107.4 kB / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of SimCode: time 4.9e-07/0.3742, allocations: 0 / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.4013, allocations: 7.163 MB / 1.11 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.734, allocations: 3.938 kB / 1.11 GB, free: 10.47 MB / 0.8731 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