Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_11_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.006125/0.006125, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001326/0.001326, allocations: 192 kB / 16.67 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.984/2.984, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3624, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003567/0.366, allocations: 1.995 MB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.3683, allocations: 1.196 MB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.3685, allocations: 3.938 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.3691, allocations: 155.4 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.3695, allocations: 155.4 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.3702, allocations: 227 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.3706, allocations: 315.2 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.3708, allocations: 44.39 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.371, allocations: 139.4 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.3712, allocations: 151.4 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.3713, allocations: 20 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.3715, allocations: 55.97 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.3716, allocations: 87.67 kB / 1.225 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.3717, allocations: 131.1 kB / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004823/0.3722, allocations: 366.4 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.3722, allocations: 4 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.484e-06/0.3723, allocations: 0 / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3723, allocations: 0 / 1.225 GB, free: 9.23 MB / 0.9825 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.001109/0.3734, allocations: 0.6377 MB / 1.226 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.3734, allocations: 8.031 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.707e-05/0.3735, allocations: 38.75 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.3736, allocations: 36.69 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006708/0.3743, allocations: 390 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.3743, allocations: 8 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3744, allocations: 7.984 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.3747, allocations: 105.6 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3747, allocations: 0 / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3747, allocations: 4 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.3747, allocations: 4 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.375, allocations: 59.89 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009622/0.3759, allocations: 492.5 kB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.3763, allocations: 142.7 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.3765, allocations: 48.77 kB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.3765, allocations: 11.98 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.3768, allocations: 107.3 kB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.3768, allocations: 0 / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0006347/0.3775, allocations: 229.3 kB / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.3776, allocations: 55.41 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007371/0.3783, allocations: 0.5054 MB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.3783, allocations: 33.7 kB / 1.228 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.3785, allocations: 164.5 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.3786, allocations: 31.7 kB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.3787, allocations: 69.95 kB / 1.228 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.379, allocations: 354.8 kB / 1.228 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.3792, allocations: 104.5 kB / 1.229 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.3794, allocations: 131.6 kB / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.3799, allocations: 187.5 kB / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3799, allocations: 0 / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000657/0.3805, allocations: 329.3 kB / 1.229 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.3806, allocations: 9.5 kB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3806, allocations: 4 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3806, allocations: 0 / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.3809, allocations: 51.91 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3809, allocations: 0 / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.381, allocations: 19.89 kB / 1.229 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.3811, allocations: 15.98 kB / 1.229 GB, free: 4.652 MB / 0.9825 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.0002245/0.3813, allocations: 185.8 kB / 1.229 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.3814, allocations: 47.58 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-05/0.3815, allocations: 35.12 kB / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3815, allocations: 0 / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3815, allocations: 0 / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.3815, allocations: 0 / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.3818, allocations: 301.4 kB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3818, allocations: 0 / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.902e-05/0.3819, allocations: 19.98 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3819, allocations: 7.938 kB / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.382, allocations: 0 / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.382, allocations: 4 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.382, allocations: 0 / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.3824, allocations: 212.8 kB / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.3825, allocations: 116.8 kB / 1.23 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.3826, allocations: 4 kB / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.3827, allocations: 12 kB / 1.23 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/0.3827, allocations: 19.95 kB / 1.23 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3828, allocations: 12 kB / 1.23 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003587/0.3831, allocations: 315.1 kB / 1.231 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3831, allocations: 0 / 1.231 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002975/0.3834, allocations: 59.89 kB / 1.231 GB, free: 3.234 MB / 0.9825 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.002305/0.3857, allocations: 1.074 MB / 1.232 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004808/0.3862, allocations: 187.8 kB / 1.232 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3863, allocations: 4 kB / 1.232 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.3864, allocations: 59.91 kB / 1.232 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.387, allocations: 97.3 kB / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.391, allocations: 3.118 MB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.3915, allocations: 0.7909 MB / 1.236 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001766/0.3917, allocations: 54.94 kB / 1.236 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.3919, allocations: 107.4 kB / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/0.3919, allocations: 0 / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.4235, allocations: 7.154 MB / 1.243 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.637/9.06, allocations: 2.953 kB / 1.243 GB, free: 6.77 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches