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.001338/0.001338, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001436/0.001436, allocations: 215.1 kB / 23.03 MB, free: 4.422 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.779/2.779, allocations: 476.8 MB / 0.7715 GB, free: 3.879 MB / 0.6231 GB " [Timeout remaining time 177] 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.00203/0.00203, allocations: 63.59 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3673, allocations: 170 MB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00224/0.3696, allocations: 0.7515 MB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3708, allocations: 0.8784 MB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.3708, allocations: 4 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.129e-05/0.3709, allocations: 11.86 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.485e-05/0.371, allocations: 15.86 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.3712, allocations: 39.95 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3713, allocations: 87.77 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.3714, allocations: 23.48 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.596e-05/0.3715, allocations: 35.92 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.289e-05/0.3716, allocations: 51.81 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.3716, allocations: 8 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.914e-05/0.3717, allocations: 8 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.3717, allocations: 23.86 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.3717, allocations: 27.86 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.3719, allocations: 96.86 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3719, allocations: 0 / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3719, allocations: 0 / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3719, allocations: 0 / 1.286 GB, free: 8.48 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.0006483/0.3726, allocations: 318 kB / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3726, allocations: 12.03 kB / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.899e-05/0.3726, allocations: 192 / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.3727, allocations: 34.75 kB / 1.286 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.3727, allocations: 8.891 kB / 1.286 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.3728, allocations: 138.3 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3728, allocations: 4.375 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.3729, allocations: 7.938 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.3732, allocations: 104.4 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3732, allocations: 0 / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.3732, allocations: 11.98 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3732, allocations: 0 / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.3736, allocations: 91.91 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.3741, allocations: 303.8 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006565/0.3748, allocations: 114.6 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.375, allocations: 60.8 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.375, allocations: 4 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.375, allocations: 38.5 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.375, allocations: 0 / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000681/0.3757, allocations: 185.5 kB / 1.287 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3758, allocations: 55.34 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3759, allocations: 121.8 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.3759, allocations: 25.7 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.376, allocations: 96.08 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.376, allocations: 19.84 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.376, allocations: 21.7 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3762, allocations: 322.8 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.3764, allocations: 51.89 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.3766, allocations: 52.19 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.3769, allocations: 96.77 kB / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3769, allocations: 0 / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004154/0.3774, allocations: 141.5 kB / 1.288 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3774, allocations: 4 kB / 1.288 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3774, allocations: 0 / 1.288 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3774, allocations: 4 kB / 1.288 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.3776, allocations: 23.97 kB / 1.288 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3776, allocations: 3.938 kB / 1.288 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.3777, allocations: 11.98 kB / 1.288 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3777, allocations: 11.92 kB / 1.288 GB, free: 5.84 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.000102/0.3778, allocations: 113.8 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.3779, allocations: 7.953 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.3779, allocations: 12.38 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3779, allocations: 0 / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3779, allocations: 7.938 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3779, allocations: 0 / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.3781, allocations: 160.6 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3781, allocations: 0 / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.3783, allocations: 27.97 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3783, allocations: 4 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3783, allocations: 0 / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3783, allocations: 0 / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3783, allocations: 3.938 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.3788, allocations: 235.4 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.3788, allocations: 11.89 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.3788, allocations: 0 / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.379, allocations: 23.97 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.259e-05/0.3791, allocations: 23.91 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.3791, allocations: 8 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.708e-05/0.3791, allocations: 95.27 kB / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3791, allocations: 0 / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002498/0.3794, allocations: 12 kB / 1.289 GB, free: 5.035 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.000806/0.3802, allocations: 0.767 MB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000406/0.3806, allocations: 103.9 kB / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3806, allocations: 0 / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.3808, allocations: 59.88 kB / 1.29 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3811, allocations: 19.88 kB / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.3834, allocations: 1.544 MB / 1.292 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.774e-05/0.3834, allocations: 71.33 kB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.714e-05/0.3835, allocations: 12 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.276e-05/0.3836, allocations: 35.41 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3836, allocations: 0 / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.4075, allocations: 2.994 MB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.92, allocations: 4.062 kB / 1.295 GB, free: 15.47 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.963247072999366] Failed to read output from testmodel.py, exit status != 0: 12.779297071974725 12.111982829 11.734976929 Calling exit ...