Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 106 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 196.6 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 245.1 MB, free: 4.344 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.919/2.919, allocations: 469.8 MB / 0.7491 GB, free: 7.141 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.91 kB / 1.073 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3594, allocations: 159.1 MB / 1.229 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00287/0.3623, allocations: 0.7699 MB / 1.229 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.3639, allocations: 0.8545 MB / 1.23 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.364, allocations: 4 kB / 1.23 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.041e-05/0.3641, allocations: 7.922 kB / 1.23 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.963e-05/0.3642, allocations: 7.875 kB / 1.23 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.3645, allocations: 47.88 kB / 1.23 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3646, allocations: 79.83 kB / 1.23 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.3648, allocations: 31.97 kB / 1.23 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.3649, allocations: 43.83 kB / 1.23 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3651, allocations: 51.77 kB / 1.231 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.3652, allocations: 8 kB / 1.231 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.69e-05/0.3652, allocations: 8 kB / 1.231 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.3652, allocations: 15.97 kB / 1.231 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.3653, allocations: 35.8 kB / 1.231 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.3655, allocations: 91.88 kB / 1.231 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3656, allocations: 0 / 1.231 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3656, allocations: 4 kB / 1.231 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3656, allocations: 0 / 1.231 GB, free: 10.22 MB / 0.9825 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.0008971/0.3665, allocations: 399.1 kB / 1.231 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3666, allocations: 8.031 kB / 1.231 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.282e-05/0.3666, allocations: 34.75 kB / 1.231 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.3667, allocations: 8.891 kB / 1.231 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.3669, allocations: 180.3 kB / 1.231 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.3669, allocations: 4.375 kB / 1.231 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.367, allocations: 20.06 kB / 1.231 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.3675, allocations: 98.11 kB / 1.231 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3675, allocations: 4 kB / 1.231 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3675, allocations: 0 / 1.231 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3675, allocations: 0 / 1.231 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.3681, allocations: 106.4 kB / 1.231 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007937/0.3689, allocations: 340.6 kB / 1.232 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000974/0.3699, allocations: 126.5 kB / 1.232 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.3703, allocations: 64.81 kB / 1.232 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3703, allocations: 0 / 1.232 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.3704, allocations: 34.55 kB / 1.232 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3704, allocations: 0 / 1.232 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.001062/0.3714, allocations: 185.5 kB / 1.232 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.3715, allocations: 51.41 kB / 1.232 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3717, allocations: 125.8 kB / 1.232 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.3717, allocations: 25.7 kB / 1.232 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/0.3718, allocations: 100 kB / 1.233 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.3719, allocations: 23.78 kB / 1.233 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.372, allocations: 29.7 kB / 1.233 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3722, allocations: 322.8 kB / 1.233 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.3725, allocations: 43.95 kB / 1.233 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.3728, allocations: 47.95 kB / 1.233 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005917/0.3734, allocations: 96.77 kB / 1.233 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3735, allocations: 0 / 1.233 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007076/0.3742, allocations: 138 kB / 1.233 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3742, allocations: 4 kB / 1.233 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3742, allocations: 0 / 1.233 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3743, allocations: 0 / 1.233 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.3745, allocations: 27.91 kB / 1.233 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.3746, allocations: 11.92 kB / 1.233 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.3748, allocations: 15.98 kB / 1.233 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.3748, allocations: 4 kB / 1.233 GB, free: 7.367 MB / 0.9825 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.000135/0.3749, allocations: 113.8 kB / 1.233 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.375, allocations: 7.938 kB / 1.233 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.3751, allocations: 16.36 kB / 1.233 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3751, allocations: 0 / 1.233 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.3751, allocations: 7.938 kB / 1.233 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3751, allocations: 0 / 1.233 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.3755, allocations: 193.6 kB / 1.234 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.3755, allocations: 3.984 kB / 1.234 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.3758, allocations: 23.97 kB / 1.234 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3758, allocations: 0 / 1.234 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.3758, allocations: 3.938 kB / 1.234 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.3759, allocations: 4.078 kB / 1.234 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.3759, allocations: 7.922 kB / 1.234 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.3766, allocations: 243.3 kB / 1.234 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.3767, allocations: 85 kB / 1.234 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3768, allocations: 0 / 1.234 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.377, allocations: 11.98 kB / 1.234 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.3771, allocations: 27.91 kB / 1.234 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.3771, allocations: 15.94 kB / 1.234 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.614e-05/0.3772, allocations: 99.64 kB / 1.234 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3772, allocations: 0 / 1.234 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000237/0.3774, allocations: 12 kB / 1.234 GB, free: 6.406 MB / 0.9825 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.0008532/0.3783, allocations: 0.7675 MB / 1.235 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004382/0.3787, allocations: 107.9 kB / 1.235 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3787, allocations: 0 / 1.235 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.379, allocations: 71.88 kB / 1.235 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.3793, allocations: 9.812 kB / 1.235 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.3817, allocations: 1.541 MB / 1.237 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3821, allocations: 0.6924 MB / 1.237 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.588e-05/0.3821, allocations: 8 kB / 1.237 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.3822, allocations: 27.42 kB / 1.237 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3822, allocations: 0 / 1.237 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.4062, allocations: 2.706 MB / 1.24 GB, free: 452 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.528, allocations: 3.625 kB / 1.24 GB, free: 452 kB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.787867632927373]