Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001288/0.001288, allocations: 101.3 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.001447/0.001447, allocations: 219.7 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.314/3.314, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_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.002059/0.002059, allocations: 62.41 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3375, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002151/0.3396, allocations: 0.8055 MB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3409, allocations: 0.9095 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.08e-05/0.341, allocations: 3.938 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.3411, allocations: 19.86 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.3412, allocations: 7.875 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.3414, allocations: 31.89 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.3415, allocations: 75.78 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3416, allocations: 20.27 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.3418, allocations: 39.78 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.748e-05/0.3418, allocations: 35.84 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3419, allocations: 8 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.468e-05/0.3419, allocations: 8 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.3419, allocations: 11.94 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.342, allocations: 23.86 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.3421, allocations: 87.61 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3422, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.706e-06/0.3422, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.3422, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006194/0.3428, allocations: 319.7 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.3428, allocations: 12.02 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.08e-05/0.3429, allocations: 12.12 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.3429, allocations: 34.75 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.3431, allocations: 16.88 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.3434, allocations: 148.3 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3434, allocations: 4.375 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.3434, allocations: 4.375 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.3436, allocations: 73.92 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3437, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3437, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3437, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3438, allocations: 35.92 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.3443, allocations: 283.7 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.3445, allocations: 42.56 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.3446, allocations: 25 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3446, allocations: 3.984 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3446, allocations: 30.56 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.3446, allocations: 0 / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000294/0.3449, allocations: 77.66 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.345, allocations: 55.41 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3451, allocations: 129.8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.3451, allocations: 29.7 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.3452, allocations: 100.1 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.3452, allocations: 11.94 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.3453, allocations: 21.7 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3455, allocations: 322.8 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.3455, allocations: 15.98 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.926e-05/0.3456, allocations: 15.98 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.727e-05/0.3457, allocations: 24.84 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3457, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001513/0.3458, allocations: 69.58 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3458, allocations: 5.875 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3458, allocations: 4 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3459, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.489e-05/0.3459, allocations: 7.984 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3459, allocations: 7.922 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.346, allocations: 19.92 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.346, allocations: 0 / 1.331 GB, free: 13.28 MB / 1.029 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 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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 0.0001075/0.3461, allocations: 114.4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.3462, allocations: 7.953 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.3462, allocations: 8.344 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3462, allocations: 11.98 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3462, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.3462, allocations: 3.938 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.3465, allocations: 140.7 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3465, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.3465, allocations: 11.94 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3465, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.3465, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3465, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3465, allocations: 4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.3467, allocations: 163.4 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.3468, allocations: 19.81 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.3468, allocations: 8 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3469, allocations: 7.984 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.347, allocations: 7.984 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.347, allocations: 4.312 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.745e-05/0.347, allocations: 103.3 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.347, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002373/0.3473, allocations: 8 kB / 1.331 GB, free: 12.59 MB / 1.029 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005798/0.3479, allocations: 0.7046 MB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.348, allocations: 27.98 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.348, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.3481, allocations: 23.92 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.3484, allocations: 9.812 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.3504, allocations: 1.378 MB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.3505, allocations: 75.27 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.133e-05/0.3505, allocations: 4 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.218e-05/0.3506, allocations: 23.42 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of SimCode: time 1.362e-06/0.3506, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.3814, allocations: 2.228 MB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.85, allocations: 5.016 kB / 1.336 GB, free: 8.16 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.84225707896985] Failed to read output from testmodel.py, exit status != 0: 12.030068553984165 12.046927237 11.701455525 Calling exit ...