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.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.001709/0.001709, allocations: 113 kB / 19.73 MB, free: 2.227 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.002193/0.002193, allocations: 211.3 kB / 23.04 MB, free: 5.066 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.935/2.935, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_11_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.002033/0.002033, allocations: 64.91 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3102, allocations: 169.9 MB / 1.284 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002268/0.3125, allocations: 0.7968 MB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3138, allocations: 0.89 MB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.3138, allocations: 0 / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.3139, allocations: 3.938 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.155e-05/0.314, allocations: 11.86 kB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.3141, allocations: 39.91 kB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.3143, allocations: 91.8 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.3144, allocations: 12 kB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3145, allocations: 43.91 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.3147, allocations: 51.81 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.3147, allocations: 11.94 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.786e-05/0.3147, allocations: 11.94 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.3147, allocations: 15.98 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.3148, allocations: 39.78 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.3149, allocations: 95.11 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3149, allocations: 0 / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3149, allocations: 0 / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3149, allocations: 0 / 1.286 GB, free: 9.52 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.0007104/0.3157, allocations: 322 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3157, allocations: 8.031 kB / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.97e-05/0.3157, allocations: 4.188 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.3158, allocations: 34.75 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.3158, allocations: 8.891 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.316, allocations: 126.4 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.316, allocations: 384 / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.316, allocations: 11.94 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.3163, allocations: 105.6 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3164, allocations: 3.938 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3164, allocations: 0 / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.3164, allocations: 4 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.3168, allocations: 95.91 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006981/0.3175, allocations: 319.7 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.3182, allocations: 118.6 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.3184, allocations: 60.75 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.3184, allocations: 4 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3184, allocations: 34.56 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3184, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007426/0.3192, allocations: 177.5 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.3192, allocations: 59.33 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3194, allocations: 121.8 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.3194, allocations: 29.7 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.3195, allocations: 100 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.3195, allocations: 19.83 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.3196, allocations: 25.7 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3197, allocations: 318.8 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.3199, allocations: 51.88 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.3201, allocations: 43.95 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.3205, allocations: 92.78 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3205, allocations: 8 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004285/0.3209, allocations: 133.5 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3209, allocations: 4 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3209, allocations: 4 kB / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3209, allocations: 0 / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.3212, allocations: 27.91 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3212, allocations: 7.938 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3213, allocations: 19.94 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.3213, allocations: 4 kB / 1.289 GB, free: 6.867 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.0001384/0.3215, allocations: 117.8 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.3215, allocations: 4 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.3215, allocations: 8.375 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.3216, allocations: 4 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3216, allocations: 3.938 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3216, allocations: 4 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.3218, allocations: 176.6 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3218, allocations: 0 / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.322, allocations: 23.97 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.322, allocations: 4 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.322, allocations: 0 / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.322, allocations: 0 / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.322, allocations: 7.875 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.3225, allocations: 239.9 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.3226, allocations: 4 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.3226, allocations: 0 / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.3227, allocations: 15.97 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/0.3228, allocations: 23.91 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.3228, allocations: 8 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.065e-05/0.3229, allocations: 99.2 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3229, allocations: 0 / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002407/0.3231, allocations: 15.95 kB / 1.289 GB, free: 6.051 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.000881/0.324, allocations: 0.771 MB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.3245, allocations: 103.9 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3245, allocations: 0 / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.3247, allocations: 63.89 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.3251, allocations: 21.08 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.3276, allocations: 1.533 MB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3279, allocations: 0.6903 MB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.753e-05/0.328, allocations: 15.98 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.954e-05/0.3281, allocations: 31.42 kB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of SimCode: time 8.71e-07/0.3281, allocations: 0 / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.3513, allocations: 2.875 MB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.5, allocations: 10.31 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB " [Timeout remaining time 288] (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] [Calling os._exit(0), Time elapsed: 18.41749299596995] Failed to read output from testmodel.py, exit status != 0: 12.193118961004075 11.673494787 11.355267069 Calling exit ...