Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_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.00527/0.00527, allocations: 98.53 kB / 15.73 MB, free: 6.039 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.00115/0.00115, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.68/2.68, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 68.12 kB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3188, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001965/0.3208, allocations: 0.7716 MB / 1.208 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3218, allocations: 0.8545 MB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.838e-05/0.3219, allocations: 0 / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.322, allocations: 11.81 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.137e-05/0.3221, allocations: 3.938 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.3223, allocations: 51.88 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3224, allocations: 83.83 kB / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3226, allocations: 23.97 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.3227, allocations: 47.83 kB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.602e-05/0.3228, allocations: 43.83 kB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.3228, allocations: 12 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.3229, allocations: 8 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.3229, allocations: 23.91 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.323, allocations: 31.8 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.3231, allocations: 91.66 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3231, allocations: 0 / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3232, allocations: 0 / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3232, allocations: 4 kB / 1.209 GB, free: 8.039 MB / 0.9669 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.0006859/0.3239, allocations: 403.3 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3239, allocations: 8.625 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.324, allocations: 34.73 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.324, allocations: 8.844 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.3242, allocations: 180.2 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3242, allocations: 384 / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.3242, allocations: 8.125 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.3246, allocations: 105.6 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3246, allocations: 4 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3246, allocations: 0 / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.3247, allocations: 4 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.325, allocations: 103.8 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.3256, allocations: 340.6 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.3262, allocations: 130.5 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.3264, allocations: 60.8 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.3265, allocations: 0 / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3265, allocations: 38.56 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3265, allocations: 0 / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006572/0.3272, allocations: 177.5 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.3272, allocations: 59.39 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.3273, allocations: 125.7 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3273, allocations: 29.7 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.3274, allocations: 103.9 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.3274, allocations: 15.72 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.3275, allocations: 29.7 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3276, allocations: 310.8 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.3278, allocations: 43.95 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.328, allocations: 60.25 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.3283, allocations: 96.92 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3283, allocations: 0 / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000399/0.3287, allocations: 141.5 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3288, allocations: 8 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3288, allocations: 0 / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3288, allocations: 0 / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.329, allocations: 23.97 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.329, allocations: 3.938 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.3291, allocations: 19.89 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3291, allocations: 4 kB / 1.212 GB, free: 5.18 MB / 0.9669 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 0.000109/0.3292, allocations: 125.8 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.3293, allocations: 4 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.3293, allocations: 8.375 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3293, allocations: 7.938 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3293, allocations: 3.938 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3293, allocations: 0 / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.3296, allocations: 201.5 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3296, allocations: 0 / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.3298, allocations: 31.91 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.3298, allocations: 4 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3298, allocations: 0 / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3298, allocations: 0 / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3298, allocations: 3.938 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.3303, allocations: 239.3 kB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.3303, allocations: 81.11 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3303, allocations: 0 / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3305, allocations: 15.97 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.3306, allocations: 19.92 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3306, allocations: 11.98 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.476e-05/0.3307, allocations: 91.27 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3307, allocations: 0 / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002349/0.3309, allocations: 15.91 kB / 1.213 GB, free: 4.234 MB / 0.9669 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.0008044/0.3317, allocations: 0.7671 MB / 1.213 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003879/0.3321, allocations: 103.9 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3321, allocations: 0 / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.3323, allocations: 67.88 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.3326, allocations: 9.5 kB / 1.214 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.3347, allocations: 1.547 MB / 1.215 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.335, allocations: 0.6885 MB / 1.216 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.405e-05/0.3351, allocations: 12 kB / 1.216 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.3352, allocations: 23.42 kB / 1.216 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.3352, allocations: 4 kB / 1.216 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.3562, allocations: 2.754 MB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/8.701, allocations: 13.08 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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