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.001663/0.001663, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002012/0.002012, allocations: 215 kB / 20.13 MB, free: 2.949 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.589/1.589, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.063/3.063, allocations: 0.5003 GB / 0.8026 GB, free: 6.906 MB / 0.6387 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.002139/0.002139, allocations: 63.91 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9865/0.9887, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002096/0.9908, allocations: 0.7836 MB / 1.341 GB, free: 15.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.9919, allocations: 0.9028 MB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.9919, allocations: 1.062 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/0.992, allocations: 9.234 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.461e-05/0.9921, allocations: 10.58 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.9923, allocations: 33.75 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.9924, allocations: 90.72 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.9925, allocations: 19.86 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.202e-05/0.9926, allocations: 35.52 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.9927, allocations: 54.11 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.9928, allocations: 8.062 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.284e-05/0.9928, allocations: 7.219 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.9928, allocations: 19.5 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.9929, allocations: 39.45 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.9931, allocations: 88.78 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9931, allocations: 0.6094 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9931, allocations: 0 / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.9931, allocations: 0 / 1.342 GB, free: 14.88 MB / 1.061 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.0006686/0.9937, allocations: 403.9 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.9938, allocations: 9.031 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.925e-05/0.9938, allocations: 6.531 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.9938, allocations: 37.34 kB / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.9939, allocations: 9.016 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.994, allocations: 176.1 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.994, allocations: 3.25 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.994, allocations: 11.06 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.9944, allocations: 109 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.9944, allocations: 3.938 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.9944, allocations: 1.094 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.9944, allocations: 1.094 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.9948, allocations: 97.7 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.9954, allocations: 346.1 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006575/0.9961, allocations: 119.1 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.9963, allocations: 56.91 kB / 1.344 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.9963, allocations: 5.453 kB / 1.344 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.9963, allocations: 36.84 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.9963, allocations: 0 / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0007335/0.9971, allocations: 186 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.9971, allocations: 56 kB / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/0.9972, allocations: 124 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.9972, allocations: 25.7 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.9973, allocations: 101.6 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.9973, allocations: 20.5 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.9973, allocations: 22.56 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.9974, allocations: 319.5 kB / 1.344 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.9976, allocations: 48.75 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.9978, allocations: 50.06 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.9981, allocations: 95.44 kB / 1.345 GB, free: 12.94 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.9981, allocations: 4 kB / 1.345 GB, free: 12.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004364/0.9986, allocations: 139.2 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.9986, allocations: 5.5 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.9986, allocations: 0.7969 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.9986, allocations: 1.375 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.9988, allocations: 26.67 kB / 1.345 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.9988, allocations: 6.203 kB / 1.345 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.9989, allocations: 19.12 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.9989, allocations: 4.156 kB / 1.345 GB, free: 12.86 MB / 1.061 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 7.325e-05/0.999, allocations: 113.2 kB / 1.345 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.999, allocations: 10.7 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.9991, allocations: 10.97 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.9991, allocations: 2.172 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.9991, allocations: 5.312 kB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.9991, allocations: 0 / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.9993, allocations: 202.2 kB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9993, allocations: 0 / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.9994, allocations: 28.41 kB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.9994, allocations: 0.5625 kB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.9995, allocations: 2.594 kB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.9995, allocations: 1.375 kB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.9995, allocations: 3.938 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/0.9999, allocations: 236.4 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/1, allocations: 83.05 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/1, allocations: 1.984 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/1, allocations: 11.61 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/1, allocations: 25 kB / 1.345 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/1, allocations: 2.5 kB / 1.345 GB, free: 12.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.041e-05/1, allocations: 101.9 kB / 1.346 GB, free: 12.15 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1, allocations: 0 / 1.346 GB, free: 12.15 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002319/1.001, allocations: 11.61 kB / 1.346 GB, free: 12.15 MB / 1.061 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.0006714/1.001, allocations: 0.7868 MB / 1.346 GB, free: 11.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000469/1.002, allocations: 103.1 kB / 1.346 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.002, allocations: 7.938 kB / 1.346 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/1.002, allocations: 56.06 kB / 1.347 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/1.002, allocations: 16.05 kB / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/1.004, allocations: 1.528 MB / 1.348 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/1.004, allocations: 0.6935 MB / 1.349 GB, free: 9.422 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.727e-05/1.005, allocations: 12.34 kB / 1.349 GB, free: 9.418 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.647e-05/1.005, allocations: 34.22 kB / 1.349 GB, free: 9.395 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/1.005, allocations: 0 / 1.349 GB, free: 9.395 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/1.024, allocations: 2.755 MB / 1.351 GB, free: 8.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/9.333, allocations: 7.5 kB / 1.351 GB, free: 8.926 MB / 1.061 GB " [Timeout remaining time 291] (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: 16.127542087982874] Failed to read output from testmodel.py, exit status != 0: 9.45845354697667 9.471487011 8.475837711 Calling exit ...