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.00513/0.005131, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001207/0.001208, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.445/2.445, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.83 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3148, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003684/0.3186, allocations: 1.993 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002219/0.3208, allocations: 1.193 MB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.321, allocations: 8 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004904/0.3216, allocations: 163.4 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004491/0.322, allocations: 151.4 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.3227, allocations: 220.8 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000492/0.3232, allocations: 311.2 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.3234, allocations: 52.34 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.3237, allocations: 155.4 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.3239, allocations: 147.4 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.324, allocations: 16 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.3241, allocations: 63.95 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.3243, allocations: 83.75 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.3244, allocations: 127.1 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000489/0.3249, allocations: 362.5 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3249, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3249, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.3249, allocations: 0 / 1.092 GB, free: 12.95 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.001153/0.3261, allocations: 0.6301 MB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3262, allocations: 12.03 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.329e-05/0.3262, allocations: 42.73 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.3263, allocations: 32.56 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.327, allocations: 373.8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.327, allocations: 8 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.327, allocations: 4 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.3273, allocations: 113.5 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3273, allocations: 0 / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3273, allocations: 0 / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3273, allocations: 0 / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.3275, allocations: 71.89 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008548/0.3284, allocations: 0.4963 MB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.3287, allocations: 122.8 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3289, allocations: 56.83 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.3289, allocations: 4 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.3292, allocations: 117.7 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.3292, allocations: 0 / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005475/0.3297, allocations: 221.4 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3298, allocations: 55.41 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.3303, allocations: 0.5054 MB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.3304, allocations: 25.7 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3305, allocations: 176.4 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.3305, allocations: 35.55 kB / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3307, allocations: 73.81 kB / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3308, allocations: 350.8 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.331, allocations: 96.52 kB / 1.096 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.3312, allocations: 135.6 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.3316, allocations: 176 kB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3316, allocations: 0 / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005322/0.3321, allocations: 325.2 kB / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3321, allocations: 15.81 kB / 1.097 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3321, allocations: 0 / 1.097 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3322, allocations: 4 kB / 1.097 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.3324, allocations: 47.97 kB / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.3324, allocations: 3.984 kB / 1.097 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3326, allocations: 31.83 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.3326, allocations: 8 kB / 1.097 GB, free: 8.383 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.000185/0.3328, allocations: 177.8 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.3328, allocations: 35.56 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.618e-05/0.3329, allocations: 39.09 kB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3329, allocations: 4 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3329, allocations: 3.938 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.333, allocations: 0 / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.3332, allocations: 309.3 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3332, allocations: 0 / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-05/0.3333, allocations: 8 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3333, allocations: 7.938 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.3333, allocations: 3.984 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3334, allocations: 4 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3334, allocations: 0 / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.3337, allocations: 208.5 kB / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.3339, allocations: 116.7 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.3339, allocations: 8 kB / 1.097 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.29e-05/0.334, allocations: 3.984 kB / 1.097 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.3341, allocations: 19.92 kB / 1.097 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.3341, allocations: 11.98 kB / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003334/0.3344, allocations: 319.1 kB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3344, allocations: 0 / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003007/0.3348, allocations: 59.89 kB / 1.098 GB, free: 6.98 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.001624/0.3364, allocations: 1.056 MB / 1.099 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00041/0.3368, allocations: 191.7 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3368, allocations: 0 / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.337, allocations: 59.97 kB / 1.099 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.3375, allocations: 95.8 kB / 1.099 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.3415, allocations: 3.107 MB / 1.102 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3418, allocations: 0.787 MB / 1.103 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.342, allocations: 50.95 kB / 1.103 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.3422, allocations: 107.4 kB / 1.103 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.3422, allocations: 4 kB / 1.103 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09531/0.4375, allocations: 7.277 MB / 1.11 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.627, allocations: 6.281 kB / 1.11 GB, free: 10.37 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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) "" Variables in the reference:time,product.u1,product.u2,product.y Variables in the result:product.u1,product.u2,product.y,reaToInt1.u,reaToInt1.y,reaToInt2.u,reaToInt2.y,timTabLin.extrapolation,timTabLin.offset[1],timTabLin.smoothness,timTabLin.table[1,1],timTabLin.table[1,2],timTabLin.table[2,1],timTabLin.table[2,2],timTabLin.table[3,1],timTabLin.table[3,2],timTabLin.table[4,1],timTabLin.table[4,2],timTabLin.table[5,1],timTabLin.table[5,2],timTabLin.timeScale,timTabLin.y[1],timTabLin1.extrapolation,timTabLin1.offset[1],timTabLin1.smoothness,timTabLin1.table[1,1],timTabLin1.table[1,2],timTabLin1.table[2,1],timTabLin1.table[2,2],timTabLin1.table[3,1],timTabLin1.table[3,2],timTabLin1.table[4,1],timTabLin1.table[4,2],timTabLin1.table[5,1],timTabLin1.table[5,2],timTabLin1.timeScale,timTabLin1.y[1],time