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.008282/0.008282, allocations: 101.7 kB / 15.73 MB, free: 6.43 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.002143/0.002144, allocations: 191.8 kB / 16.67 MB, free: 6.336 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.723/2.723, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 69.16 kB / 0.9504 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2878, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003188/0.291, allocations: 1.999 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.2929, allocations: 1.201 MB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.2931, allocations: 7.938 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.2935, allocations: 155.5 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.2939, allocations: 155.3 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.2945, allocations: 232 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.2949, allocations: 319.2 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.295, allocations: 44.38 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.2953, allocations: 151.4 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.2955, allocations: 155.4 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.2956, allocations: 16 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.2957, allocations: 51.98 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.2958, allocations: 95.66 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.296, allocations: 123.2 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.2964, allocations: 366.6 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2964, allocations: 4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.31e-07/0.2964, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.2964, allocations: 0 / 1.092 GB, free: 12.94 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.0009681/0.2974, allocations: 0.6377 MB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2974, allocations: 8.031 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.2975, allocations: 38.75 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.2976, allocations: 32.7 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.2981, allocations: 382.1 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2981, allocations: 8 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.2981, allocations: 7.984 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.2984, allocations: 105.6 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2984, allocations: 4 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.2984, allocations: 3.984 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.2984, allocations: 4 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.2986, allocations: 59.95 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007901/0.2994, allocations: 0.4886 MB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.2998, allocations: 142.7 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.2999, allocations: 52.77 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.2999, allocations: 4 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.3002, allocations: 111.3 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.3002, allocations: 4 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.000533/0.3007, allocations: 219.6 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.3008, allocations: 55.41 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.3013, allocations: 0.5054 MB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.3014, allocations: 33.7 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.3015, allocations: 176.3 kB / 1.095 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.3015, allocations: 31.73 kB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3017, allocations: 73.92 kB / 1.095 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3018, allocations: 350.8 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.302, allocations: 100.5 kB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.3022, allocations: 131.6 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.3026, allocations: 184 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3026, allocations: 4 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000566/0.3032, allocations: 321.3 kB / 1.097 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3032, allocations: 9.969 kB / 1.097 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.3032, allocations: 4 kB / 1.097 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.3032, allocations: 0 / 1.097 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.3035, allocations: 51.91 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3035, allocations: 0 / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.3037, allocations: 15.98 kB / 1.097 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.3037, allocations: 20.06 kB / 1.097 GB, free: 8.367 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.00018/0.3039, allocations: 185.7 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.3039, allocations: 43.64 kB / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.221e-05/0.304, allocations: 35.12 kB / 1.097 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.304, allocations: 0 / 1.097 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.304, allocations: 0 / 1.097 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.304, allocations: 0 / 1.097 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.3043, allocations: 305.4 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3043, allocations: 0 / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.3044, allocations: 19.98 kB / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3044, allocations: 3.938 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3044, allocations: 0 / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3044, allocations: 0 / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3044, allocations: 4 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.3048, allocations: 208.8 kB / 1.097 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.934e-05/0.3049, allocations: 116.8 kB / 1.098 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.305, allocations: 4 kB / 1.098 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3051, allocations: 15.98 kB / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.3052, allocations: 11.98 kB / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.3052, allocations: 11.98 kB / 1.098 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003304/0.3055, allocations: 315.1 kB / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3055, allocations: 0 / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002906/0.3058, allocations: 55.94 kB / 1.098 GB, free: 6.965 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.001757/0.3076, allocations: 1.075 MB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004437/0.308, allocations: 187.8 kB / 1.099 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3081, allocations: 4 kB / 1.099 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.3082, allocations: 61.41 kB / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.3087, allocations: 89.27 kB / 1.099 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.3128, allocations: 3.113 MB / 1.102 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.3132, allocations: 0.7909 MB / 1.103 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.3134, allocations: 54.95 kB / 1.103 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.3136, allocations: 107.4 kB / 1.103 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of SimCode: time 3.9e-07/0.3136, allocations: 0 / 1.103 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.342, allocations: 7.15 MB / 1.11 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/8.742, allocations: 5.562 kB / 1.11 GB, free: 10.45 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