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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001447/0.001447, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001577/0.001577, allocations: 198.5 kB / 16.14 MB, free: 6.711 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.345/2.345, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.6323, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003059/0.6354, allocations: 2.052 MB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.6371, allocations: 1.193 MB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.6372, allocations: 7.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.6376, allocations: 147.6 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.6379, allocations: 143.5 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.6384, allocations: 206.7 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.6387, allocations: 283.2 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.6389, allocations: 48.36 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.639, allocations: 135.3 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.6392, allocations: 139.4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.6392, allocations: 8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.6394, allocations: 51.95 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.425e-05/0.6395, allocations: 91.66 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.6396, allocations: 107.2 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.6399, allocations: 353 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6399, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.246e-06/0.6399, allocations: 3.984 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.6399, allocations: 3.938 kB / 1.022 GB, free: 13.83 MB / 0.7794 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.0008483/0.6408, allocations: 0.6205 MB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.6408, allocations: 12.03 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.6409, allocations: 38.73 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.641, allocations: 40.47 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.6414, allocations: 370 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.6414, allocations: 8 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.6414, allocations: 8 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.6417, allocations: 107.6 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6417, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.6417, allocations: 4 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.6417, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.6419, allocations: 63.95 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006976/0.6426, allocations: 496.4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.6429, allocations: 134.7 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.643, allocations: 56.81 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.6431, allocations: 4 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.6433, allocations: 123.3 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.6433, allocations: 0 / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004987/0.6438, allocations: 225.1 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.6439, allocations: 55.41 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.6443, allocations: 0.5092 MB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.6444, allocations: 29.7 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.6445, allocations: 172.4 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.6445, allocations: 31.55 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.6446, allocations: 77.88 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6447, allocations: 346.8 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.6449, allocations: 100.5 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.6451, allocations: 135.6 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.6454, allocations: 178.5 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6454, allocations: 0 / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004817/0.6459, allocations: 322.7 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.6459, allocations: 7.938 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.646, allocations: 0 / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.646, allocations: 4 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.6462, allocations: 51.91 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.6462, allocations: 0 / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.6463, allocations: 27.89 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.6464, allocations: 12 kB / 1.026 GB, free: 9.277 MB / 0.7794 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.000158/0.6465, allocations: 182.2 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.6466, allocations: 35.56 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.109e-05/0.6467, allocations: 31.12 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6467, allocations: 7.984 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6467, allocations: 0 / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.6467, allocations: 3.938 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.6469, allocations: 305.4 kB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6469, allocations: 3.984 kB / 1.026 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.647, allocations: 8 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.647, allocations: 7.938 kB / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.647, allocations: 3.984 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.647, allocations: 0 / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.647, allocations: 0 / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.6474, allocations: 207.4 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.6475, allocations: 120.7 kB / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.6475, allocations: 3.938 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.414e-05/0.6476, allocations: 15.98 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.6477, allocations: 15.98 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.6477, allocations: 7.984 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002977/0.648, allocations: 315.1 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.648, allocations: 0 / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002696/0.6483, allocations: 63.89 kB / 1.027 GB, free: 7.875 MB / 0.7794 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.001468/0.6498, allocations: 1.059 MB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003837/0.6502, allocations: 188.1 kB / 1.028 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6502, allocations: 0 / 1.028 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.6503, allocations: 76 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.6508, allocations: 80.25 kB / 1.028 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.6544, allocations: 3.169 MB / 1.031 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.6547, allocations: 0.7869 MB / 1.032 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.6549, allocations: 54.95 kB / 1.032 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.655, allocations: 107.4 kB / 1.032 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.655, allocations: 0 / 1.032 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.6725, allocations: 6.74 MB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.6727, allocations: 250.7 kB / 1.039 GB, free: 11.53 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.319, allocations: 0 / 1.039 GB, free: 11.53 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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