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.009714/0.009714, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001781/0.001781, allocations: 186.2 kB / 16.67 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.825/2.825, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.91 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3648, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002372/0.3672, allocations: 0.7716 MB / 1.208 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3685, allocations: 0.8546 MB / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.3686, allocations: 3.938 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.445e-05/0.3687, allocations: 11.86 kB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.577e-05/0.3688, allocations: 11.86 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.369, allocations: 39.89 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.3691, allocations: 79.89 kB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.3693, allocations: 31.95 kB / 1.209 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.3694, allocations: 47.78 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.715e-05/0.3695, allocations: 47.81 kB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.3695, allocations: 8 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.3695, allocations: 8 kB / 1.209 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.3696, allocations: 27.92 kB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.3696, allocations: 27.86 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.3698, allocations: 87.66 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3698, allocations: 0 / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3698, allocations: 0 / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3698, allocations: 0 / 1.209 GB, free: 8.094 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.0006622/0.3705, allocations: 395.4 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.3706, allocations: 12.62 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.3706, allocations: 38.69 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.3707, allocations: 12.84 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3708, allocations: 184.1 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3708, allocations: 4.375 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3709, allocations: 12.12 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.3712, allocations: 101.6 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3712, allocations: 3.984 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3712, allocations: 0 / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3712, allocations: 0 / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.3716, allocations: 107.8 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.3722, allocations: 336.7 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000639/0.3729, allocations: 130.5 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.3731, allocations: 56.81 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.3731, allocations: 3.984 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3731, allocations: 30.56 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.3731, allocations: 4 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006944/0.3738, allocations: 177.5 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.3739, allocations: 55.34 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.374, allocations: 125.8 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.374, allocations: 33.7 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.3741, allocations: 99.94 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.3741, allocations: 23.7 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.3742, allocations: 21.72 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3743, allocations: 318.8 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.3745, allocations: 47.89 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.3747, allocations: 47.95 kB / 1.212 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.3751, allocations: 104.8 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3751, allocations: 0 / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004196/0.3755, allocations: 125.6 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3755, allocations: 4 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3755, allocations: 12.48 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3756, allocations: 0 / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.3757, allocations: 27.97 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3758, allocations: 3.938 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.3759, allocations: 19.88 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3759, allocations: 0 / 1.212 GB, free: 5.234 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 9.476e-05/0.376, allocations: 113.8 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.376, allocations: 8 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.3761, allocations: 12.38 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3761, allocations: 7.984 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3761, allocations: 7.875 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3761, allocations: 0 / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.3763, allocations: 197.5 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3763, allocations: 0 / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.3765, allocations: 23.97 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.3765, allocations: 4 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3765, allocations: 7.984 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3765, allocations: 7.938 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3766, allocations: 3.938 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.377, allocations: 235.3 kB / 1.212 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.3771, allocations: 81.11 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3771, allocations: 4 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3772, allocations: 15.98 kB / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.3773, allocations: 23.91 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3773, allocations: 4 kB / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.224e-05/0.3774, allocations: 91.27 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3774, allocations: 0 / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002367/0.3777, allocations: 19.91 kB / 1.213 GB, free: 4.285 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.0008116/0.3785, allocations: 0.7684 MB / 1.213 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004427/0.3789, allocations: 107.9 kB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.379, allocations: 0 / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.3792, allocations: 63.89 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3795, allocations: 19.86 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3817, allocations: 1.526 MB / 1.215 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.3819, allocations: 0.6924 MB / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.496e-05/0.382, allocations: 11.98 kB / 1.216 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.039e-05/0.3821, allocations: 31.42 kB / 1.216 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of SimCode: time 6.72e-07/0.3821, allocations: 0 / 1.216 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.4034, allocations: 2.755 MB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.287, allocations: 6.297 kB / 1.219 GB, free: 14.28 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