Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001973/0.001973, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002747/0.002747, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.336/3.336, allocations: 0.5003 GB / 0.8062 GB, free: 28.48 MB / 0.6231 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.Reals.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_latest_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.002248/0.002248, allocations: 67.59 kB / 1.171 GB, free: 19.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3445, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002514/0.347, allocations: 0.8386 MB / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.3485, allocations: 0.9211 MB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.3486, allocations: 3.938 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.3488, allocations: 19.81 kB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.3488, allocations: 11.86 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.349, allocations: 39.89 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.3492, allocations: 95.77 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3494, allocations: 35.97 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.3495, allocations: 51.78 kB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.471e-05/0.3496, allocations: 35.84 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.3496, allocations: 8 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.034e-05/0.3497, allocations: 19.98 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.3497, allocations: 11.94 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.3497, allocations: 35.78 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.35, allocations: 111.7 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.35, allocations: 0 / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.293e-06/0.35, allocations: 0 / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.35, allocations: 0 / 1.348 GB, free: 13.72 MB / 1.045 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.000716/0.3507, allocations: 349.9 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3507, allocations: 8.031 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.31e-05/0.3507, allocations: 4.188 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.3508, allocations: 34.75 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.351, allocations: 20.88 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.3513, allocations: 138.4 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3513, allocations: 12.38 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3514, allocations: 8.312 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.3518, allocations: 100.4 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3518, allocations: 0 / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3518, allocations: 4 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3518, allocations: 0 / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.3521, allocations: 67.94 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.3526, allocations: 307.7 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.3529, allocations: 66.53 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.353, allocations: 28.94 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.353, allocations: 0 / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.353, allocations: 38.55 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 4.017e-06/0.353, allocations: 7.922 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0005422/0.3536, allocations: 117.6 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.3536, allocations: 59.34 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.3537, allocations: 131.5 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.3538, allocations: 37.62 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.3538, allocations: 104 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.3538, allocations: 11.94 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.3539, allocations: 17.72 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.354, allocations: 330.8 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.3542, allocations: 31.97 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3543, allocations: 23.98 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.3545, allocations: 60.73 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3545, allocations: 0 / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002711/0.3547, allocations: 101.7 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3548, allocations: 7.984 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3548, allocations: 0 / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3548, allocations: 4 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3549, allocations: 15.92 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3549, allocations: 4 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-05/0.355, allocations: 11.98 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.355, allocations: 7.984 kB / 1.35 GB, free: 11.3 MB / 1.045 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.0001112/0.3551, allocations: 118.4 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.3551, allocations: 11.94 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.3552, allocations: 12.34 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3552, allocations: 3.938 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3552, allocations: 0 / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3552, allocations: 0 / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.3554, allocations: 152.7 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3554, allocations: 0 / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.3555, allocations: 11.98 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3555, allocations: 4 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3555, allocations: 11.92 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.3555, allocations: 3.938 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3555, allocations: 0 / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.3558, allocations: 179.5 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.3558, allocations: 7.953 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.3559, allocations: 4 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.356, allocations: 27.91 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.3561, allocations: 7.922 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3561, allocations: 4 kB / 1.35 GB, free: 10.67 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.23e-05/0.3562, allocations: 108.6 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3562, allocations: 0 / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002325/0.3564, allocations: 19.89 kB / 1.35 GB, free: 10.55 MB / 1.045 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.0007768/0.3572, allocations: 0.7163 MB / 1.351 GB, free: 9.805 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.3575, allocations: 67.88 kB / 1.351 GB, free: 9.738 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3575, allocations: 4 kB / 1.351 GB, free: 9.734 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.3577, allocations: 27.97 kB / 1.351 GB, free: 9.707 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.358, allocations: 24.11 kB / 1.351 GB, free: 9.684 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.36, allocations: 1.477 MB / 1.353 GB, free: 8.121 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.705e-05/0.3601, allocations: 79.31 kB / 1.353 GB, free: 8.023 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.901e-05/0.3602, allocations: 15.73 kB / 1.353 GB, free: 8.008 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.3602, allocations: 27.42 kB / 1.353 GB, free: 7.98 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.3602, allocations: 0 / 1.353 GB, free: 7.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.3836, allocations: 2.44 MB / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.05, allocations: 9.766 kB / 1.355 GB, free: 5.695 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.09554817492608] Failed to read output from testmodel.py, exit status != 0: 12.212613482028246 12.22897305 11.875943196 Calling exit ...