Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.005799/0.005799, allocations: 101 kB / 15.73 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.001336/0.001336, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.651/2.651, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2751, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001963/0.2771, allocations: 0.7756 MB / 1.167 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2782, allocations: 0.8584 MB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.2783, allocations: 0 / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.436e-05/0.2784, allocations: 11.81 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.752e-05/0.2785, allocations: 11.94 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.2786, allocations: 39.88 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.2788, allocations: 87.83 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2789, allocations: 27.97 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.279, allocations: 39.84 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.579e-05/0.2791, allocations: 51.75 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.2791, allocations: 8 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.2791, allocations: 8 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.2792, allocations: 19.98 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.2792, allocations: 35.8 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.2794, allocations: 87.66 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2794, allocations: 4 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2794, allocations: 0 / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.2795, allocations: 0 / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005937/0.2801, allocations: 390.9 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2801, allocations: 8.031 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.2802, allocations: 46.73 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.2802, allocations: 8.844 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.2804, allocations: 180.2 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2804, allocations: 4.375 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.2804, allocations: 8.125 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.2807, allocations: 105.6 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2808, allocations: 0 / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2808, allocations: 0 / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2808, allocations: 8 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.2812, allocations: 103.8 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.2817, allocations: 328.7 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.2823, allocations: 126.5 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.2825, allocations: 60.8 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.2826, allocations: 4 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.2826, allocations: 34.56 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2826, allocations: 0 / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006261/0.2832, allocations: 181.7 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.2833, allocations: 55.41 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.682e-05/0.2834, allocations: 129.7 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.2834, allocations: 33.64 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.2835, allocations: 107.9 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.2835, allocations: 15.72 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.2836, allocations: 25.7 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2837, allocations: 314.8 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.2839, allocations: 43.95 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.284, allocations: 51.95 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.2844, allocations: 104.8 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2845, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003778/0.2848, allocations: 129.6 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.285, allocations: 12 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.285, allocations: 0 / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.285, allocations: 0 / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.2852, allocations: 31.91 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2852, allocations: 3.938 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2853, allocations: 19.83 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.2853, allocations: 4 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.871e-05/0.2854, allocations: 113.8 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.2855, allocations: 7.984 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.2855, allocations: 16.36 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2855, allocations: 0 / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2855, allocations: 3.938 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2855, allocations: 0 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.2857, allocations: 201.5 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2857, allocations: 0 / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.2859, allocations: 23.97 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2859, allocations: 0 / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2859, allocations: 8 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2859, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.2859, allocations: 7.875 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.2864, allocations: 227.4 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.2864, allocations: 85.02 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.2864, allocations: 4 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.2866, allocations: 19.97 kB / 1.171 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.2867, allocations: 23.92 kB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.2867, allocations: 3.938 kB / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.459e-05/0.2868, allocations: 95.27 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2868, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002459/0.287, allocations: 16 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0007347/0.2878, allocations: 0.7748 MB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.2882, allocations: 99.91 kB / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.2882, allocations: 4 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.2884, allocations: 68.41 kB / 1.172 GB, free: 432 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.2887, allocations: 17.91 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.291, allocations: 1.541 MB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2913, allocations: 0.6885 MB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.797e-05/0.2914, allocations: 12 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-05/0.2915, allocations: 31.42 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.2915, allocations: 0 / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.3104, allocations: 2.682 MB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.045, allocations: 22.16 kB / 1.177 GB, free: 11.41 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,add1.u1,add1.u2,add1.y Variables in the result:add1.u1,add1.u2,add1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,time