Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_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.008394/0.008394, allocations: 103.6 kB / 15.74 MB, free: 6.047 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.002212/0.002212, allocations: 188.4 kB / 16.67 MB, free: 5.969 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.039/3.039, allocations: 482.4 MB / 0.7548 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.91 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.301, allocations: 162.2 MB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003855/0.3049, allocations: 1.986 MB / 1.243 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002273/0.3072, allocations: 1.208 MB / 1.245 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.3074, allocations: 7.938 kB / 1.245 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.3079, allocations: 151.4 kB / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004441/0.3084, allocations: 155.4 kB / 1.245 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/0.309, allocations: 227.1 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004906/0.3095, allocations: 311.2 kB / 1.245 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.3097, allocations: 52.36 kB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.31, allocations: 139.4 kB / 1.246 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.3103, allocations: 151.4 kB / 1.246 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.3103, allocations: 16 kB / 1.246 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.3105, allocations: 55.97 kB / 1.246 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3106, allocations: 91.67 kB / 1.246 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.3108, allocations: 127.1 kB / 1.246 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.3113, allocations: 370.4 kB / 1.246 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3114, allocations: 0 / 1.246 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3114, allocations: 0 / 1.246 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.3114, allocations: 0 / 1.246 GB, free: 5.227 MB / 0.9981 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.001093/0.3125, allocations: 0.6339 MB / 1.247 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3125, allocations: 8.031 kB / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.3126, allocations: 38.75 kB / 1.247 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.23e-05/0.3127, allocations: 32.75 kB / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.3132, allocations: 386 kB / 1.247 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.3133, allocations: 11.98 kB / 1.247 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.3133, allocations: 8 kB / 1.247 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.3136, allocations: 105.6 kB / 1.248 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3136, allocations: 4 kB / 1.248 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3136, allocations: 0 / 1.248 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3136, allocations: 4 kB / 1.248 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.3138, allocations: 69.7 kB / 1.248 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/0.3147, allocations: 496.4 kB / 1.248 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.3151, allocations: 142.7 kB / 1.248 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.3152, allocations: 44.83 kB / 1.248 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.3153, allocations: 11.98 kB / 1.248 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.3155, allocations: 111.2 kB / 1.248 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.3155, allocations: 0 / 1.248 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0005714/0.3161, allocations: 229.3 kB / 1.249 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.3162, allocations: 55.41 kB / 1.249 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006134/0.3168, allocations: 0.5054 MB / 1.249 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.3168, allocations: 33.7 kB / 1.249 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.317, allocations: 160.5 kB / 1.249 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.317, allocations: 39.72 kB / 1.249 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.3171, allocations: 73.91 kB / 1.249 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3173, allocations: 346.8 kB / 1.25 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.3175, allocations: 104.5 kB / 1.25 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.3178, allocations: 127.6 kB / 1.25 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.3181, allocations: 182.5 kB / 1.25 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3181, allocations: 8 kB / 1.25 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005887/0.3187, allocations: 321.3 kB / 1.25 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3187, allocations: 11.92 kB / 1.251 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.3188, allocations: 4 kB / 1.251 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3188, allocations: 0 / 1.251 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.319, allocations: 51.91 kB / 1.251 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3191, allocations: 4 kB / 1.251 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.3192, allocations: 15.89 kB / 1.251 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.3192, allocations: 20.05 kB / 1.251 GB, free: 0.6367 MB / 0.9981 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.0001969/0.3194, allocations: 182.2 kB / 1.251 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.3195, allocations: 39.7 kB / 1.251 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.767e-05/0.3196, allocations: 35.12 kB / 1.251 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3196, allocations: 0 / 1.251 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3196, allocations: 0 / 1.251 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3196, allocations: 3.938 kB / 1.251 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.3199, allocations: 297.4 kB / 1.251 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3199, allocations: 0 / 1.251 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.32, allocations: 23.98 kB / 1.251 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.32, allocations: 7.938 kB / 1.251 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3201, allocations: 0 / 1.251 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5204/0.8404, allocations: 5.172 kB / 1.251 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8405, allocations: 0.5625 kB / 1.251 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005247/0.841, allocations: 202.5 kB / 1.251 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.8411, allocations: 117.7 kB / 1.251 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.8411, allocations: 6.062 kB / 1.251 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.8413, allocations: 6.719 kB / 1.251 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.8413, allocations: 20.05 kB / 1.252 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.8414, allocations: 6.906 kB / 1.252 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003658/0.8417, allocations: 316.3 kB / 1.252 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8417, allocations: 1.031 kB / 1.252 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003239/0.8421, allocations: 59.47 kB / 1.252 GB, free: 15.12 MB / 0.9981 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.001974/0.8441, allocations: 1.08 MB / 1.253 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.8445, allocations: 191.6 kB / 1.253 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8445, allocations: 0 / 1.253 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.8447, allocations: 61.08 kB / 1.253 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.8452, allocations: 94.44 kB / 1.253 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.8489, allocations: 3.115 MB / 1.256 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.8492, allocations: 0.7865 MB / 1.257 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.8493, allocations: 57.58 kB / 1.257 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.8495, allocations: 107.5 kB / 1.257 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.8495, allocations: 0 / 1.257 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.8798, allocations: 7.147 MB / 1.264 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/9.147, allocations: 20.55 kB / 1.264 GB, free: 11.36 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches