Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.001936/0.001936, allocations: 101.3 kB / 19.73 MB, free: 2.109 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.002457/0.002457, allocations: 219.2 kB / 23.03 MB, free: 4.91 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.93/2.93, allocations: 476.8 MB / 0.7715 GB, free: 3.797 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.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less",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.002054/0.002054, allocations: 64.58 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3675, allocations: 170 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002154/0.3696, allocations: 0.8286 MB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3709, allocations: 0.9229 MB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.582e-05/0.371, allocations: 0 / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.3711, allocations: 19.81 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.3712, allocations: 11.86 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.3714, allocations: 43.89 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.3716, allocations: 103.7 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3717, allocations: 33.39 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.3719, allocations: 43.84 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.338e-05/0.372, allocations: 47.77 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.372, allocations: 8 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.242e-05/0.372, allocations: 19.94 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.3721, allocations: 8 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.3721, allocations: 31.8 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.3723, allocations: 111.1 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3723, allocations: 4 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3723, allocations: 0 / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3723, allocations: 0 / 1.286 GB, free: 8.332 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006423/0.3729, allocations: 337.9 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.373, allocations: 12.03 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.489e-05/0.373, allocations: 192 / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.373, allocations: 38.75 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.3732, allocations: 20.83 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.3734, allocations: 140.4 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3735, allocations: 8.375 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.3735, allocations: 4.375 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.3737, allocations: 97.95 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3737, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3737, allocations: 11.88 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3737, allocations: 4 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.374, allocations: 71.94 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.3745, allocations: 311.6 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.3748, allocations: 70.47 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3749, allocations: 28.94 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.3749, allocations: 3.984 kB / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.3749, allocations: 34.56 kB / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.3749, allocations: 0 / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004428/0.3754, allocations: 117.6 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3754, allocations: 63.33 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3755, allocations: 136.1 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.3756, allocations: 25.7 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.3756, allocations: 108 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.3757, allocations: 11.89 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.3757, allocations: 17.72 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3759, allocations: 322.8 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.376, allocations: 35.97 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.3761, allocations: 23.98 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.3763, allocations: 56.8 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3763, allocations: 0 / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002763/0.3766, allocations: 105.6 kB / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3766, allocations: 4 kB / 1.288 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3766, allocations: 0 / 1.288 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3766, allocations: 4 kB / 1.288 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3767, allocations: 19.86 kB / 1.288 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3767, allocations: 0 / 1.288 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.3768, allocations: 11.98 kB / 1.288 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3768, allocations: 0 / 1.288 GB, free: 5.926 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001067/0.3769, allocations: 121.8 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.377, allocations: 7.938 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.377, allocations: 12.34 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.377, allocations: 3.938 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.377, allocations: 0 / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.377, allocations: 192 / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.3772, allocations: 148.9 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.3772, allocations: 15.92 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.3773, allocations: 7.984 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.3773, allocations: 7.984 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3773, allocations: 4 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3773, allocations: 3.938 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3773, allocations: 0 / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.3777, allocations: 195.3 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.3777, allocations: 3.953 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.3777, allocations: 4 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.3778, allocations: 23.91 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.3779, allocations: 11.98 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3779, allocations: 4 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.96e-05/0.378, allocations: 99.25 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.378, allocations: 0 / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002343/0.3782, allocations: 19.94 kB / 1.289 GB, free: 5.172 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: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006672/0.3789, allocations: 0.7241 MB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.3791, allocations: 63.95 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3791, allocations: 0 / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.3793, allocations: 31.97 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.3795, allocations: 18.27 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.3814, allocations: 1.476 MB / 1.291 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.823e-05/0.3815, allocations: 87.17 kB / 1.291 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.3816, allocations: 4 kB / 1.291 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.3816, allocations: 27.42 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3816, allocations: 0 / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.4041, allocations: 2.424 MB / 1.294 GB, free: 360 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.01, allocations: 24.11 kB / 1.294 GB, free: 340 kB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.91223415406421] Failed to read output from testmodel.py, exit status != 0: 12.748101877979934 12.21284587 11.834873709 Calling exit ...