Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001962/0.001962, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002366/0.002366, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.058/3.058, allocations: 0.5003 GB / 0.8026 GB, free: 6.844 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.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_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.002239/0.002239, allocations: 67.91 kB / 1.165 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152/1.154, allocations: 178.9 MB / 1.34 GB, free: 16.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.0019/1.156, allocations: 0.714 MB / 1.341 GB, free: 16.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008763/1.157, allocations: 0.8607 MB / 1.342 GB, free: 15.37 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/1.157, allocations: 1.406 kB / 1.342 GB, free: 15.37 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/1.157, allocations: 4.453 kB / 1.342 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.142e-05/1.157, allocations: 10.16 kB / 1.342 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/1.157, allocations: 29.69 kB / 1.342 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.204e-05/1.158, allocations: 48.98 kB / 1.342 GB, free: 15.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/1.158, allocations: 11 kB / 1.342 GB, free: 15.31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.288e-05/1.158, allocations: 18.38 kB / 1.342 GB, free: 15.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.991e-05/1.158, allocations: 29.55 kB / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/1.158, allocations: 4.219 kB / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/1.158, allocations: 3.438 kB / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/1.158, allocations: 8.578 kB / 1.342 GB, free: 15.28 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/1.158, allocations: 21.66 kB / 1.342 GB, free: 15.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/1.158, allocations: 49.52 kB / 1.342 GB, free: 15.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.158, allocations: 0 / 1.342 GB, free: 15.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/1.158, allocations: 1.062 kB / 1.342 GB, free: 15.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.158, allocations: 0 / 1.342 GB, free: 15.25 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.0004891/1.158, allocations: 367.2 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/1.159, allocations: 14.66 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.503e-05/1.159, allocations: 1.281 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.445e-05/1.159, allocations: 32.53 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/1.159, allocations: 11.06 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/1.159, allocations: 169.8 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/1.159, allocations: 1.531 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/1.159, allocations: 6.094 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/1.159, allocations: 64.58 kB / 1.343 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.159, allocations: 0.7969 kB / 1.343 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/1.159, allocations: 4.906 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.159, allocations: 1.125 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/1.159, allocations: 55.83 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/1.16, allocations: 293.4 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/1.16, allocations: 61 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/1.16, allocations: 28.55 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/1.16, allocations: 4 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/1.16, allocations: 40.67 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/1.16, allocations: 0 / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004536/1.16, allocations: 106.4 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/1.16, allocations: 51.41 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/1.161, allocations: 110.6 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/1.161, allocations: 29.7 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/1.161, allocations: 97 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/1.161, allocations: 4.75 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/1.161, allocations: 21.23 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.489e-05/1.161, allocations: 320.7 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/1.161, allocations: 26.66 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/1.161, allocations: 31.31 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/1.161, allocations: 53.56 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.161, allocations: 0 / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002478/1.161, allocations: 87.95 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.161, allocations: 7.656 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.161, allocations: 0.6094 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.161, allocations: 5.125 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/1.162, allocations: 14.97 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.162, allocations: 1.812 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.951e-05/1.162, allocations: 11.91 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/1.162, allocations: 2.062 kB / 1.344 GB, free: 13.38 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,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 5.915e-05/1.162, allocations: 117.4 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/1.162, allocations: 1.344 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/1.162, allocations: 6.078 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.162, allocations: 0.7969 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.162, allocations: 5.281 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.162, allocations: 3.938 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/1.162, allocations: 174.6 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.162, allocations: 0.75 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.274e-05/1.162, allocations: 11.81 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.162, allocations: 1.375 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/1.162, allocations: 0.6562 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.162, allocations: 0 / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.162, allocations: 1.625 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/1.162, allocations: 191.9 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/1.162, allocations: 78.78 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/1.162, allocations: 0.7969 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/1.162, allocations: 8.578 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/1.162, allocations: 11.38 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/1.162, allocations: 6.031 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.335e-05/1.163, allocations: 87.69 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.163, allocations: 4 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002231/1.163, allocations: 10.66 kB / 1.345 GB, free: 12.7 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 (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.0004647/1.163, allocations: 0.7152 MB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002851/1.163, allocations: 60.77 kB / 1.345 GB, free: 12.01 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.163, allocations: 0 / 1.345 GB, free: 12.01 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/1.164, allocations: 28.81 kB / 1.345 GB, free: 12.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/1.164, allocations: 16.05 kB / 1.345 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/1.165, allocations: 1.335 MB / 1.347 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/1.165, allocations: 0.6825 MB / 1.347 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.898e-05/1.165, allocations: 4.062 kB / 1.347 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/1.165, allocations: 16.98 kB / 1.347 GB, free: 10.06 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.165, allocations: 1.469 kB / 1.347 GB, free: 10.06 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/1.184, allocations: 1.904 MB / 1.349 GB, free: 9.676 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.448/9.632, allocations: 12.59 kB / 1.349 GB, free: 9.672 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.242886833031662] Failed to read output from testmodel.py, exit status != 0: 9.757525069988333 9.770363415 8.609801808 Calling exit ...