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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007939/0.007939, allocations: 103.6 kB / 15.73 MB, free: 6.004 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.001465/0.001466, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 63.91 kB / 1.054 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9216/0.9238, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004722/0.9286, allocations: 2.017 MB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.931, allocations: 1.196 MB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.9313, allocations: 0 / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006525/0.932, allocations: 159.4 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006375/0.9327, allocations: 163.2 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008887/0.9336, allocations: 226.5 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000574/0.9342, allocations: 311.2 kB / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.9344, allocations: 44.38 kB / 1.211 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.9347, allocations: 155.4 kB / 1.211 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.935, allocations: 147.4 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.9351, allocations: 16 kB / 1.212 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.9352, allocations: 63.91 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.9354, allocations: 83.73 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.9356, allocations: 123.2 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.9362, allocations: 368.9 kB / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.9362, allocations: 0 / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9362, allocations: 4 kB / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.895e-05/0.9362, allocations: 0 / 1.212 GB, free: 8.5 MB / 0.9356 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.001378/0.9376, allocations: 0.6224 MB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.9377, allocations: 15.97 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.61e-05/0.9377, allocations: 42.73 kB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.682e-05/0.9378, allocations: 28.56 kB / 1.213 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.9384, allocations: 373.8 kB / 1.213 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.9385, allocations: 8 kB / 1.213 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.9385, allocations: 8 kB / 1.213 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.9388, allocations: 113.5 kB / 1.213 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.9388, allocations: 0 / 1.213 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.9388, allocations: 4 kB / 1.213 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.9389, allocations: 4 kB / 1.213 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.939, allocations: 55.95 kB / 1.213 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/0.9399, allocations: 496.3 kB / 1.214 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.9403, allocations: 138.7 kB / 1.214 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.9404, allocations: 44.83 kB / 1.214 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.9405, allocations: 7.984 kB / 1.214 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.9407, allocations: 123.2 kB / 1.214 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.9407, allocations: 4 kB / 1.214 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005649/0.9413, allocations: 218.8 kB / 1.214 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.9414, allocations: 55.41 kB / 1.214 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/0.942, allocations: 0.5053 MB / 1.215 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.942, allocations: 33.62 kB / 1.215 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.9421, allocations: 164.5 kB / 1.215 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.9422, allocations: 35.55 kB / 1.215 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.9423, allocations: 73.88 kB / 1.215 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.9425, allocations: 354.7 kB / 1.216 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.9427, allocations: 96.52 kB / 1.216 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.9429, allocations: 135.6 kB / 1.216 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.9432, allocations: 184.3 kB / 1.216 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.9432, allocations: 0 / 1.216 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005369/0.9438, allocations: 321.2 kB / 1.216 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.9438, allocations: 7.938 kB / 1.216 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.9438, allocations: 4 kB / 1.216 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.9438, allocations: 0 / 1.216 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.9441, allocations: 55.91 kB / 1.216 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.9441, allocations: 0 / 1.216 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.9443, allocations: 27.89 kB / 1.216 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.9443, allocations: 8 kB / 1.216 GB, free: 3.945 MB / 0.9356 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.0002081/0.9445, allocations: 181.7 kB / 1.217 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.9446, allocations: 39.47 kB / 1.217 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.216e-05/0.9447, allocations: 35.11 kB / 1.217 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.9447, allocations: 4 kB / 1.217 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.9447, allocations: 0 / 1.217 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9447, allocations: 0 / 1.217 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.945, allocations: 301.5 kB / 1.217 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.945, allocations: 4 kB / 1.217 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.132e-05/0.9451, allocations: 15.94 kB / 1.217 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.9451, allocations: 3.938 kB / 1.217 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.9452, allocations: 3.984 kB / 1.217 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9452, allocations: 3.938 kB / 1.217 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9452, allocations: 4 kB / 1.217 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.9456, allocations: 200.6 kB / 1.217 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.9457, allocations: 124.5 kB / 1.217 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.9458, allocations: 12 kB / 1.217 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.9459, allocations: 11.98 kB / 1.217 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.9459, allocations: 11.98 kB / 1.217 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.946, allocations: 15.98 kB / 1.217 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003467/0.9463, allocations: 311.1 kB / 1.218 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9463, allocations: 3.938 kB / 1.218 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003607/0.9467, allocations: 55.98 kB / 1.218 GB, free: 2.535 MB / 0.9356 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.001671/0.9484, allocations: 1.057 MB / 1.219 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.9488, allocations: 187.8 kB / 1.219 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9488, allocations: 0 / 1.219 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.949, allocations: 60.09 kB / 1.219 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.9495, allocations: 96.61 kB / 1.219 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/0.9535, allocations: 3.111 MB / 1.222 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.9539, allocations: 0.7947 MB / 1.223 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.954, allocations: 58.88 kB / 1.223 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.9542, allocations: 107.4 kB / 1.223 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of SimCode: time 6.02e-07/0.9542, allocations: 4 kB / 1.223 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.9804, allocations: 7.267 MB / 1.23 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/9.25, allocations: 6.125 kB / 1.23 GB, free: 5.98 MB / 0.9512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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) "" 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