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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 223.4 kB / 23.05 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.336/3.336, allocations: 0.5003 GB / 0.8061 GB, free: 26.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003097/0.003097, allocations: 68.78 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.4004, allocations: 179 MB / 1.345 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002609/0.4031, allocations: 0.7861 MB / 1.346 GB, free: 15.72 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.4044, allocations: 0.8977 MB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.4044, allocations: 4 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.285e-05/0.4045, allocations: 11.88 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.426e-05/0.4046, allocations: 7.875 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.4047, allocations: 35.95 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.4049, allocations: 83.81 kB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.405, allocations: 20.27 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.4051, allocations: 39.84 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.4052, allocations: 47.83 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.4052, allocations: 8 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.4053, allocations: 8 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.4053, allocations: 27.91 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.4053, allocations: 39.78 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.4055, allocations: 87.61 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4055, allocations: 0 / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4055, allocations: 0 / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.4055, allocations: 0 / 1.347 GB, free: 14.39 MB / 1.045 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.0006713/0.4062, allocations: 318 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4062, allocations: 12.03 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.668e-05/0.4063, allocations: 8.188 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.4063, allocations: 42.73 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.4063, allocations: 8.891 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.4065, allocations: 118.4 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.4065, allocations: 4.375 kB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.4065, allocations: 11.94 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.4069, allocations: 106.6 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.4069, allocations: 8 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.4069, allocations: 0 / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4069, allocations: 0 / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.4073, allocations: 99.89 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.4079, allocations: 303.8 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/0.4085, allocations: 122.5 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.4087, allocations: 56.81 kB / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.4087, allocations: 0 / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.4088, allocations: 42.55 kB / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.4088, allocations: 0 / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0007323/0.4095, allocations: 185.4 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.4096, allocations: 59.34 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4097, allocations: 121.8 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.4097, allocations: 29.7 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.4098, allocations: 92.09 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.4098, allocations: 31.77 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.4099, allocations: 17.72 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.41, allocations: 322.8 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.4102, allocations: 43.95 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.4104, allocations: 48.27 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.4108, allocations: 100.9 kB / 1.35 GB, free: 11.94 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4108, allocations: 0 / 1.35 GB, free: 11.94 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004446/0.4112, allocations: 141.5 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4112, allocations: 4 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4112, allocations: 0 / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4112, allocations: 0 / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.4114, allocations: 23.97 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.4114, allocations: 7.938 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.4116, allocations: 19.91 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.4116, allocations: 4 kB / 1.35 GB, free: 11.74 MB / 1.045 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.0001103/0.4117, allocations: 117.8 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.4117, allocations: 3.953 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.4118, allocations: 20.36 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4118, allocations: 0 / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4118, allocations: 3.938 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4118, allocations: 0 / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.412, allocations: 168.7 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.412, allocations: 0 / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.4122, allocations: 27.91 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4122, allocations: 4 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.4122, allocations: 3.984 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.279e-06/0.4122, allocations: 4 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4122, allocations: 3.938 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.4127, allocations: 235.4 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.4127, allocations: 7.891 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.4128, allocations: 4 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.4129, allocations: 7.984 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.774e-05/0.413, allocations: 27.91 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.413, allocations: 3.984 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.604e-05/0.4131, allocations: 95.28 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4131, allocations: 3.938 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002441/0.4133, allocations: 12 kB / 1.351 GB, free: 10.93 MB / 1.045 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.0008332/0.4142, allocations: 0.7748 MB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.4146, allocations: 103.8 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4146, allocations: 0 / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.4148, allocations: 63.94 kB / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.4152, allocations: 11.94 kB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.4176, allocations: 1.529 MB / 1.353 GB, free: 8.344 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.4179, allocations: 0.7039 MB / 1.354 GB, free: 7.613 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.255e-05/0.418, allocations: 11.69 kB / 1.354 GB, free: 7.602 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.386e-05/0.4181, allocations: 31.42 kB / 1.354 GB, free: 7.57 MB / 1.045 GB Notification: Performance of SimCode: time 4.9e-07/0.4181, allocations: 4 kB / 1.354 GB, free: 7.566 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.4421, allocations: 2.869 MB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.67, allocations: 10.03 kB / 1.356 GB, free: 4.832 MB / 1.045 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.668549822003115] Failed to read output from testmodel.py, exit status != 0: 11.834941197012085 11.851646638 11.442609659 Calling exit ...