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.01146/0.01146, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.002885/0.002885, allocations: 190.1 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.829/2.829, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.181/5.181, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002678, allocations: 67.89 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687/1.69, allocations: 151.6 MB / 1.166 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.005938/1.696, allocations: 2.003 MB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00362/1.7, allocations: 1.205 MB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/1.7, allocations: 7.938 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007216/1.701, allocations: 163.4 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0008854/1.702, allocations: 155.4 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009935/1.703, allocations: 217.9 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006766/1.703, allocations: 307.2 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/1.704, allocations: 48.39 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/1.704, allocations: 143.4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/1.704, allocations: 151.4 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.937e-05/1.705, allocations: 16 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/1.705, allocations: 51.97 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000187/1.705, allocations: 91.67 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/1.705, allocations: 123.2 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00306/1.708, allocations: 378 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.708, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.295e-06/1.708, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.388e-06/1.708, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 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.001884/1.71, allocations: 0.6338 MB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.93e-05/1.71, allocations: 12.92 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.421e-05/1.711, allocations: 42.73 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/1.711, allocations: 32.75 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009305/1.712, allocations: 386.1 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/1.712, allocations: 8 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/1.712, allocations: 8 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/1.712, allocations: 108.1 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/1.712, allocations: 0 / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/1.712, allocations: 4 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/1.712, allocations: 4 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/1.713, allocations: 63.81 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/1.714, allocations: 492.5 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/1.715, allocations: 138.7 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/1.715, allocations: 48.83 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/1.715, allocations: 11.92 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/1.715, allocations: 107.3 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 3.206e-06/1.715, allocations: 3.938 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.000991/1.716, allocations: 239 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/1.716, allocations: 51.41 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/1.718, allocations: 0.5015 MB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/1.718, allocations: 33.7 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/1.718, allocations: 168.4 kB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/1.718, allocations: 31.8 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/1.718, allocations: 69.92 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002839/1.718, allocations: 346.8 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/1.719, allocations: 104.5 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/1.719, allocations: 132.2 kB / 1.175 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/1.72, allocations: 186.5 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.72, allocations: 0 / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001057/1.721, allocations: 325.3 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/1.721, allocations: 11.94 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.721, allocations: 0 / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/1.721, allocations: 0 / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/1.722, allocations: 51.91 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/1.722, allocations: 4 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/1.722, allocations: 19.88 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/1.722, allocations: 12 kB / 1.175 GB, free: 10.26 MB / 0.9044 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.0003721/1.722, allocations: 189.8 kB / 1.175 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/1.722, allocations: 35.7 kB / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/1.723, allocations: 35.12 kB / 1.176 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.723, allocations: 0 / 1.176 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.723, allocations: 0 / 1.176 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/1.723, allocations: 3.984 kB / 1.176 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/1.723, allocations: 297.4 kB / 1.176 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.723, allocations: 3.938 kB / 1.176 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/1.723, allocations: 19.98 kB / 1.176 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/1.723, allocations: 7.938 kB / 1.176 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/1.723, allocations: 7.984 kB / 1.176 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/1.723, allocations: 0 / 1.176 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.723, allocations: 3.938 kB / 1.176 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/1.724, allocations: 202.1 kB / 1.176 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/1.724, allocations: 124.8 kB / 1.176 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/1.724, allocations: 0 / 1.176 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/1.725, allocations: 15.98 kB / 1.176 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/1.725, allocations: 15.98 kB / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/1.725, allocations: 8 kB / 1.176 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006584/1.726, allocations: 319.1 kB / 1.177 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.71e-07/1.726, allocations: 0 / 1.177 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000648/1.726, allocations: 59.89 kB / 1.177 GB, free: 8.848 MB / 0.9044 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.003688/1.73, allocations: 1.071 MB / 1.178 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009543/1.731, allocations: 192.1 kB / 1.178 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.731, allocations: 3.938 kB / 1.178 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/1.731, allocations: 63.91 kB / 1.178 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009051/1.732, allocations: 96.17 kB / 1.178 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007698/1.74, allocations: 3.12 MB / 1.181 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007628/1.741, allocations: 0.787 MB / 1.182 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003552/1.741, allocations: 54.94 kB / 1.182 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/1.741, allocations: 107.4 kB / 1.182 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of SimCode: time 2.314e-06/1.741, allocations: 0 / 1.182 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/1.854, allocations: 7.138 MB / 1.189 GB, free: 12.34 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.76/20.61, allocations: 18.81 kB / 1.189 GB, free: 12.32 MB / 0.92 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