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.001032/0.001032, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001021/0.001021, allocations: 192.3 kB / 16.25 MB, free: 6.637 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.164/1.164, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 66.98 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3453, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001895/0.3473, allocations: 0.8381 MB / 1.053 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000873/0.3482, allocations: 0.8779 MB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.3482, allocations: 0 / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.3483, allocations: 3.938 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.245e-05/0.3484, allocations: 4 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.3485, allocations: 35.91 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.449e-05/0.3486, allocations: 83.88 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3487, allocations: 23.92 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.3488, allocations: 47.84 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.223e-05/0.3489, allocations: 51.75 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.3489, allocations: 8 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.562e-05/0.3489, allocations: 8 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.349, allocations: 15.92 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.349, allocations: 43.78 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.3491, allocations: 83.72 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3491, allocations: 0 / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3491, allocations: 0 / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3492, allocations: 0 / 1.054 GB, free: 6.516 MB / 0.8106 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.0005458/0.3497, allocations: 395.5 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3497, allocations: 12.62 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.3498, allocations: 38.75 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.3498, allocations: 8.844 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.35, allocations: 184.2 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.35, allocations: 8.359 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.35, allocations: 8.312 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.3503, allocations: 116.5 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3503, allocations: 0 / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3504, allocations: 0 / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3504, allocations: 3.938 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.3507, allocations: 95.89 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.3512, allocations: 348.6 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005979/0.3518, allocations: 118.6 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.352, allocations: 60.81 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.352, allocations: 0 / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.3521, allocations: 34.55 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.3521, allocations: 4 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006222/0.3527, allocations: 181.4 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.3527, allocations: 51.41 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.3528, allocations: 129.7 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.3528, allocations: 25.7 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.3529, allocations: 99.98 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.3529, allocations: 15.8 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.353, allocations: 21.72 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.3531, allocations: 322.8 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.3532, allocations: 47.94 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.3534, allocations: 43.95 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.3537, allocations: 109.2 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3537, allocations: 0 / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003721/0.3541, allocations: 133.5 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3541, allocations: 5.25 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3542, allocations: 0 / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.3542, allocations: 4 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.3543, allocations: 23.97 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3544, allocations: 7.984 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3545, allocations: 15.92 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.3545, allocations: 4 kB / 1.057 GB, free: 3.664 MB / 0.8106 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.557e-05/0.3546, allocations: 117.8 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.3546, allocations: 7.906 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.3546, allocations: 12.36 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3546, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3547, allocations: 8 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3547, allocations: 3.938 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.3548, allocations: 197.5 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3549, allocations: 0 / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.355, allocations: 23.97 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.355, allocations: 3.984 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.355, allocations: 8 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3551, allocations: 0 / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3551, allocations: 0 / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.3555, allocations: 239.3 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.3555, allocations: 92.83 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3556, allocations: 4 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3557, allocations: 7.984 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.3558, allocations: 27.91 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3558, allocations: 8 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.3559, allocations: 95.27 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3559, allocations: 0 / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000227/0.3561, allocations: 12 kB / 1.058 GB, free: 2.719 MB / 0.8106 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.0007226/0.3568, allocations: 0.767 MB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003827/0.3572, allocations: 115.8 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3572, allocations: 0 / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.3574, allocations: 71.88 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.3578, allocations: 7.938 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.3597, allocations: 1.541 MB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.3599, allocations: 0.6885 MB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.009e-05/0.36, allocations: 12 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.389e-05/0.3601, allocations: 35.41 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3601, allocations: 0 / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.209/3.569, allocations: 2.419 MB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/3.569, allocations: 209.1 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/5.955, allocations: 3.938 kB / 1.064 GB, free: 12.8 MB / 0.8262 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) Reference file matches