Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.001473/0.001473, allocations: 110.1 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.00178/0.00178, allocations: 217.8 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.822/2.822, allocations: 476.7 MB / 0.7715 GB, free: 4.246 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.Reals.Validation.Round,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round",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.001979/0.001979, allocations: 61.66 kB / 1.118 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3217, allocations: 170 MB / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002098/0.3238, allocations: 0.7728 MB / 1.285 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.325, allocations: 0.8706 MB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.325, allocations: 0 / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.837e-05/0.3251, allocations: 7.875 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.661e-05/0.3252, allocations: 11.92 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.3254, allocations: 27.91 kB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.3255, allocations: 75.83 kB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.3256, allocations: 15.98 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.3258, allocations: 27.92 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3259, allocations: 47.81 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.3259, allocations: 8 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.3259, allocations: 8 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.326, allocations: 19.92 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.326, allocations: 31.8 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.3262, allocations: 79.14 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3262, allocations: 0 / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3262, allocations: 0 / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.3262, allocations: 0 / 1.286 GB, free: 9.453 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006404/0.3268, allocations: 310 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3269, allocations: 8.031 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.41e-05/0.3269, allocations: 192 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.3269, allocations: 38.75 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.327, allocations: 8.891 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.3271, allocations: 122.4 kB / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.3271, allocations: 8.375 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.3272, allocations: 4.375 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.3274, allocations: 81.95 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3274, allocations: 4 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.3274, allocations: 4 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3274, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.3277, allocations: 67.88 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.3282, allocations: 295.8 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.3285, allocations: 90.53 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.3286, allocations: 36.92 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.3286, allocations: 0 / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3286, allocations: 34.56 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.3286, allocations: 0 / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004964/0.3291, allocations: 137.5 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.3292, allocations: 51.41 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3293, allocations: 117.8 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.3293, allocations: 29.7 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.3294, allocations: 100 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.3294, allocations: 19.86 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.3295, allocations: 21.7 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3296, allocations: 322.8 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.3297, allocations: 27.98 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3298, allocations: 31.97 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.3301, allocations: 64.81 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3301, allocations: 4 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003067/0.3304, allocations: 113.5 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3304, allocations: 4 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3304, allocations: 3.984 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3304, allocations: 0 / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.3306, allocations: 19.97 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3306, allocations: 0 / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.3307, allocations: 8.047 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3307, allocations: 11.88 kB / 1.288 GB, free: 7.098 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.322e-05/0.3308, allocations: 121.8 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.3308, allocations: 8.391 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.3308, allocations: 12.38 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3308, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3308, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3308, allocations: 3.938 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.331, allocations: 168.6 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.331, allocations: 0 / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3312, allocations: 19.97 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3312, allocations: 3.984 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3312, allocations: 8 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3312, allocations: 0 / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3312, allocations: 0 / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.3315, allocations: 199.4 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.3315, allocations: 4 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.3315, allocations: 0 / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3317, allocations: 15.98 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.3317, allocations: 15.97 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.3317, allocations: 4 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.191e-05/0.3318, allocations: 99.58 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3318, allocations: 0 / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000235/0.332, allocations: 23.89 kB / 1.289 GB, free: 6.336 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006826/0.3327, allocations: 0.7203 MB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.333, allocations: 75.88 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.333, allocations: 0 / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.3332, allocations: 39.97 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3335, allocations: 8 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.3355, allocations: 1.464 MB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3358, allocations: 0.6923 MB / 1.292 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.938e-05/0.3359, allocations: 11.94 kB / 1.292 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.155e-05/0.3359, allocations: 23.42 kB / 1.292 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3359, allocations: 0 / 1.292 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.3587, allocations: 2.477 MB / 1.294 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.72, allocations: 13.42 kB / 1.294 GB, free: 0.832 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.592096539970953] Failed to read output from testmodel.py, exit status != 0: 12.41076035698643 11.914157629 11.582689003 Calling exit ...