Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001724/0.001724, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002029/0.002029, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.518/1.518, 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 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.874/2.874, allocations: 476.8 MB / 0.7715 GB, free: 3.867 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.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.002115/0.002115, allocations: 67.84 kB / 1.118 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3585, allocations: 170 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002069/0.3606, allocations: 0.7034 MB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3617, allocations: 0.855 MB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.3618, allocations: 0 / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.3618, allocations: 3.938 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.434e-05/0.3619, allocations: 7.938 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.362, allocations: 23.98 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.311e-05/0.3621, allocations: 51.83 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3622, allocations: 15.52 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.87e-05/0.3623, allocations: 23.86 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.3624, allocations: 27.91 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.3624, allocations: 4 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.3624, allocations: 4 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.3625, allocations: 7.984 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.3625, allocations: 15.92 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.3626, allocations: 47.8 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3626, allocations: 7.984 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3626, allocations: 4 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3626, allocations: 0 / 1.286 GB, free: 8.805 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.0005385/0.3631, allocations: 279.7 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3632, allocations: 8.031 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.345e-05/0.3632, allocations: 4.188 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.3632, allocations: 30.75 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.3633, allocations: 4.891 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3634, allocations: 118.4 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3634, allocations: 12.31 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.3634, allocations: 7.938 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.3636, allocations: 65.66 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3636, allocations: 0 / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3636, allocations: 3.984 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.3637, allocations: 0 / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.3639, allocations: 51.95 kB / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.3643, allocations: 251.9 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.3645, allocations: 62.62 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3646, allocations: 28.91 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.3647, allocations: 0 / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.3647, allocations: 34.56 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.3647, allocations: 0 / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004214/0.3651, allocations: 117.5 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.3652, allocations: 51.41 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.3652, allocations: 113.8 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3653, allocations: 29.7 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.3653, allocations: 84.14 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.3654, allocations: 19.83 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.3654, allocations: 13.72 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3655, allocations: 326.8 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3656, allocations: 19.98 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.3657, allocations: 23.97 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.3659, allocations: 52.81 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3659, allocations: 4 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002573/0.3662, allocations: 81.59 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3662, allocations: 8 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3662, allocations: 0 / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3662, allocations: 0 / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3663, allocations: 12.31 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.3664, allocations: 3.984 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.716e-05/0.3664, allocations: 11.94 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3664, allocations: 7.984 kB / 1.288 GB, free: 6.707 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,intGreThr.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.799e-05/0.3665, allocations: 109.8 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.3666, allocations: 11.94 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.3666, allocations: 8 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3666, allocations: 4 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3666, allocations: 0 / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3666, allocations: 7.938 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.3668, allocations: 136.7 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3668, allocations: 4 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.3669, allocations: 11.98 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3669, allocations: 7.875 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3669, allocations: 4 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3669, allocations: 0 / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3669, allocations: 0 / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.3672, allocations: 183.4 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.3672, allocations: 7.953 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.3672, allocations: 0 / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3673, allocations: 11.98 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.3674, allocations: 11.98 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3674, allocations: 3.938 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.625e-05/0.3675, allocations: 95.56 kB / 1.288 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3675, allocations: 0 / 1.288 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002221/0.3677, allocations: 4 kB / 1.288 GB, free: 6.023 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 (intGreThr.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.0006445/0.3683, allocations: 0.7163 MB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.3686, allocations: 59.94 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3686, allocations: 0 / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3687, allocations: 27.92 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.369, allocations: 15.92 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.3707, allocations: 1.317 MB / 1.29 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.296e-05/0.3708, allocations: 63.34 kB / 1.29 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.421e-05/0.3708, allocations: 4 kB / 1.29 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.3709, allocations: 19.42 kB / 1.29 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3709, allocations: 4 kB / 1.29 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.3932, allocations: 2.065 MB / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.85, allocations: 5.578 kB / 1.293 GB, free: 1.766 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.849320905050263] Failed to read output from testmodel.py, exit status != 0: 12.589320069062524 12.053080234 11.68502111 Calling exit ...