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.001308/0.001308, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001432/0.001432, allocations: 218 kB / 23.04 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.463/1.463, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.267/3.267, allocations: 0.5003 GB / 0.8062 GB, free: 26.75 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.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.002008/0.002008, allocations: 62.27 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3549, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001971/0.3569, allocations: 0.7058 MB / 1.346 GB, free: 15.72 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.358, allocations: 0.8705 MB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.358, allocations: 4 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.358, allocations: 7.938 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.237e-05/0.3581, allocations: 3.938 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.3583, allocations: 19.97 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.863e-05/0.3584, allocations: 51.84 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.3585, allocations: 8 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.508e-05/0.3585, allocations: 23.86 kB / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.3586, allocations: 27.89 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.3586, allocations: 4 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.3586, allocations: 4 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.3587, allocations: 8 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.3587, allocations: 27.86 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.3588, allocations: 48.08 kB / 1.347 GB, free: 14.6 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3588, allocations: 0 / 1.347 GB, free: 14.6 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3588, allocations: 0 / 1.347 GB, free: 14.6 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3588, allocations: 0 / 1.347 GB, free: 14.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000506/0.3593, allocations: 278.2 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3594, allocations: 8.031 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.161e-05/0.3594, allocations: 4.188 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.3594, allocations: 46.67 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.3594, allocations: 4.938 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3596, allocations: 122.3 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.3596, allocations: 384 / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.3596, allocations: 7.938 kB / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.3598, allocations: 65.66 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3598, allocations: 0 / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3598, allocations: 0 / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.3598, allocations: 4 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.36, allocations: 51.94 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.3605, allocations: 267.8 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.3607, allocations: 58.55 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3608, allocations: 32.91 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.3608, allocations: 0 / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3608, allocations: 34.56 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.3608, allocations: 0 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004165/0.3613, allocations: 105.6 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3613, allocations: 51.41 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3614, allocations: 121.8 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3614, allocations: 25.7 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.3615, allocations: 88.08 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.3615, allocations: 15.89 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.3615, allocations: 13.72 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.3618, allocations: 322.8 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.3619, allocations: 19.98 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.559e-05/0.362, allocations: 27.97 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.3622, allocations: 52.81 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3622, allocations: 0 / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002732/0.3624, allocations: 89.55 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3625, allocations: 7.984 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3625, allocations: 0 / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3625, allocations: 336 / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3626, allocations: 15.98 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3626, allocations: 3.938 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.3627, allocations: 7.938 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3627, allocations: 7.984 kB / 1.349 GB, free: 12.48 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: 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 9.133e-05/0.3628, allocations: 113.8 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.3628, allocations: 4 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.3628, allocations: 8 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3628, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3628, allocations: 8 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3628, allocations: 3.938 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.363, allocations: 144.7 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.363, allocations: 0 / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.3631, allocations: 15.92 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.3631, allocations: 3.938 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.3631, allocations: 0 / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3631, allocations: 4 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3631, allocations: 0 / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.3634, allocations: 187.4 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.3634, allocations: 0 / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.3635, allocations: 4 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3636, allocations: 11.98 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.3636, allocations: 7.984 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.3636, allocations: 7.938 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.069e-05/0.3637, allocations: 87.27 kB / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3637, allocations: 0 / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002262/0.3639, allocations: 12 kB / 1.35 GB, free: 11.8 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 (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.0006224/0.3645, allocations: 0.7085 MB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.3648, allocations: 63.94 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3648, allocations: 0 / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.3649, allocations: 31.91 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3652, allocations: 14.12 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.367, allocations: 1.331 MB / 1.352 GB, free: 9.547 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.3673, allocations: 0.6844 MB / 1.352 GB, free: 8.836 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.3674, allocations: 4 kB / 1.352 GB, free: 8.832 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.3674, allocations: 23.75 kB / 1.352 GB, free: 8.809 MB / 1.045 GB Notification: Performance of SimCode: time 3.4e-07/0.3674, allocations: 0 / 1.352 GB, free: 8.809 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.3925, allocations: 1.987 MB / 1.354 GB, free: 6.969 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.53, allocations: 15.55 kB / 1.354 GB, free: 6.957 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.317035055020824] Failed to read output from testmodel.py, exit status != 0: 11.6991929509677 11.731039115 11.366366149 Calling exit ...