Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001725/0.001725, allocations: 113.5 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.002137/0.002137, allocations: 220.4 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.89/2.89, allocations: 476.7 MB / 0.7715 GB, free: 4.266 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.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.002065/0.002065, allocations: 64.84 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3298, allocations: 170 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002115/0.3319, allocations: 0.7074 MB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.333, allocations: 0.8627 MB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.333, allocations: 7.938 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.333, allocations: 3.938 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.3331, allocations: 7.922 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.3333, allocations: 23.92 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.973e-05/0.3334, allocations: 47.91 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3335, allocations: 11.98 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.3335, allocations: 23.92 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.3336, allocations: 19.92 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3336, allocations: 4 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.3336, allocations: 4 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.3337, allocations: 19.92 kB / 1.286 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.3337, allocations: 19.91 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.3338, allocations: 47.33 kB / 1.286 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3338, allocations: 0 / 1.286 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3338, allocations: 0 / 1.286 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3338, allocations: 0 / 1.286 GB, free: 9.891 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005514/0.3344, allocations: 278.3 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3344, allocations: 12.03 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.862e-05/0.3345, allocations: 8.125 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.3345, allocations: 34.69 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.3345, allocations: 8.891 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3347, allocations: 126.4 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3347, allocations: 4.375 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.3347, allocations: 7.938 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.3349, allocations: 61.66 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3349, allocations: 0 / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3349, allocations: 4 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3349, allocations: 4 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.3352, allocations: 51.95 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.3357, allocations: 255.8 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.3359, allocations: 58.55 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.336, allocations: 36.91 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.336, allocations: 0 / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.336, allocations: 34.56 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.336, allocations: 3.938 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004308/0.3365, allocations: 101.6 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3365, allocations: 63.41 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.3366, allocations: 105.8 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3366, allocations: 25.7 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.3367, allocations: 88.14 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.3367, allocations: 15.83 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.3367, allocations: 17.72 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3369, allocations: 314.8 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.337, allocations: 27.97 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.809e-05/0.3371, allocations: 35.97 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.3373, allocations: 56.69 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3373, allocations: 0 / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002977/0.3376, allocations: 77.66 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3376, allocations: 4 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3376, allocations: 4 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3376, allocations: 0 / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3377, allocations: 11.98 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3377, allocations: 0 / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/0.3378, allocations: 19.92 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3378, allocations: 0 / 1.288 GB, free: 7.777 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: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.6e-05/0.3379, allocations: 113.8 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3379, allocations: 8.219 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.338, allocations: 8 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.338, allocations: 11.98 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.338, allocations: 0 / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.338, allocations: 7.875 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.3382, allocations: 144.8 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3382, allocations: 0 / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.949e-05/0.3383, allocations: 11.98 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3383, allocations: 4 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3383, allocations: 4 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3383, allocations: 0 / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3383, allocations: 0 / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.3386, allocations: 187.4 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.3386, allocations: 4 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3386, allocations: 0 / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3387, allocations: 7.984 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.3388, allocations: 15.92 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.3388, allocations: 3.938 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.856e-05/0.3389, allocations: 95.56 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3389, allocations: 4 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002249/0.3391, allocations: 4 kB / 1.288 GB, free: 7.082 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 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0006162/0.3397, allocations: 0.7163 MB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.34, allocations: 55.88 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.34, allocations: 0 / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3401, allocations: 27.98 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.3404, allocations: 18.05 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.3421, allocations: 1.313 MB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3424, allocations: 0.6807 MB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.3424, allocations: 4 kB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.3425, allocations: 19.42 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3425, allocations: 4 kB / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.3651, allocations: 1.994 MB / 1.293 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.6, allocations: 0.75 kB / 1.293 GB, free: 2.277 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.3807571149664] Failed to read output from testmodel.py, exit status != 0: 12.27281297504669 11.778561341 11.441394601 Calling exit ...