Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001568/0.001568, allocations: 116.8 kB / 17.17 MB, free: 6 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.001533/0.001533, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.083/3.083, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 MB / 0.6387 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.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_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.002241/0.002241, allocations: 67.91 kB / 1.165 GB, free: 480 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9507/0.9529, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001944/0.9548, allocations: 0.7252 MB / 1.341 GB, free: 15.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008967/0.9557, allocations: 0.8601 MB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.9558, allocations: 0 / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.9558, allocations: 5.188 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/0.9559, allocations: 4.5 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.956, allocations: 31.53 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.988e-05/0.9561, allocations: 48.73 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.9563, allocations: 10.53 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.137e-05/0.9563, allocations: 19.52 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.9564, allocations: 28.28 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.9564, allocations: 4.469 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.9564, allocations: 4.688 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.9565, allocations: 7.469 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.9565, allocations: 22.42 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.9566, allocations: 44.2 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9566, allocations: 9 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9566, allocations: 0 / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.9566, allocations: 0 / 1.342 GB, free: 15.01 MB / 1.061 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.0005285/0.9572, allocations: 362.6 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.9572, allocations: 14.09 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.902e-05/0.9572, allocations: 192 / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.9573, allocations: 37.64 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.9573, allocations: 3.484 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.9574, allocations: 172.1 kB / 1.342 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.9574, allocations: 2.625 kB / 1.342 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.9574, allocations: 6.094 kB / 1.342 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.9576, allocations: 65.2 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.9576, allocations: 3.938 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.9577, allocations: 4 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.9577, allocations: 1.062 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.9579, allocations: 52.72 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.9583, allocations: 299.4 kB / 1.343 GB, free: 14.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.9585, allocations: 60.16 kB / 1.343 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.9586, allocations: 33.42 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.9586, allocations: 3.984 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.9587, allocations: 36.34 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.9587, allocations: 0 / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004517/0.9591, allocations: 106.2 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.9591, allocations: 52.72 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.9592, allocations: 111 kB / 1.343 GB, free: 13.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.9592, allocations: 25.7 kB / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.9593, allocations: 95.88 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.9593, allocations: 5.609 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.9593, allocations: 19.23 kB / 1.343 GB, free: 13.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.9594, allocations: 322.6 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.9595, allocations: 26.42 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.9596, allocations: 23.67 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.9598, allocations: 52.84 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9598, allocations: 0 / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000235/0.96, allocations: 89.02 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.96, allocations: 4 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.96, allocations: 2.703 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.96, allocations: 3.938 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.9602, allocations: 11.48 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.9602, allocations: 8.688 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/0.9602, allocations: 15.94 kB / 1.344 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.9602, allocations: 0.7969 kB / 1.344 GB, free: 13.15 MB / 1.061 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 5.11e-05/0.9603, allocations: 113.6 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.9603, allocations: 1.688 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.9603, allocations: 5.859 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9603, allocations: 1.797 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.9603, allocations: 0 / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9603, allocations: 5.031 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.9605, allocations: 178.2 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9605, allocations: 0 / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.275e-05/0.9606, allocations: 12.05 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9606, allocations: 1.562 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.9606, allocations: 0.6562 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.9606, allocations: 1.469 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9606, allocations: 4.5 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.9609, allocations: 190.5 kB / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.9609, allocations: 83.27 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.9609, allocations: 1.641 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.961, allocations: 8.281 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.961, allocations: 11.59 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.9611, allocations: 5.859 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.716e-05/0.9611, allocations: 87.12 kB / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.9611, allocations: 0 / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002231/0.9613, allocations: 10.62 kB / 1.345 GB, free: 12.46 MB / 1.061 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.0004395/0.9617, allocations: 0.7193 MB / 1.345 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.962, allocations: 60.77 kB / 1.345 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.962, allocations: 0 / 1.345 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.9621, allocations: 30.34 kB / 1.345 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.9624, allocations: 11.33 kB / 1.345 GB, free: 11.76 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.9639, allocations: 1.323 MB / 1.347 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.9641, allocations: 0.6855 MB / 1.347 GB, free: 9.848 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.685e-05/0.9641, allocations: 3.406 kB / 1.347 GB, free: 9.848 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.9642, allocations: 18 kB / 1.347 GB, free: 9.836 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/0.9642, allocations: 0 / 1.347 GB, free: 9.836 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.9908, allocations: 1.916 MB / 1.349 GB, free: 9.445 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/9.37, allocations: 3.453 kB / 1.349 GB, free: 9.445 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.988118818029761] Failed to read output from testmodel.py, exit status != 0: 9.500356113014277 9.522360651 8.561714263 Calling exit ...