Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009117/0.0009117, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007619/0.007619, allocations: 168.6 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 12.41 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4111, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001214/0.4124, allocations: 0.5373 MB / 1.075 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.4135, allocations: 0.8701 MB / 1.076 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.4136, allocations: 0 / 1.076 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.4137, allocations: 15.88 kB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.4138, allocations: 7.922 kB / 1.076 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.4139, allocations: 27.97 kB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.4141, allocations: 67.78 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.4142, allocations: 31.98 kB / 1.076 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.4143, allocations: 19.86 kB / 1.076 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.4144, allocations: 27.84 kB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.4144, allocations: 0 / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.4145, allocations: 4 kB / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.4145, allocations: 7.938 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.4145, allocations: 45.52 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.4147, allocations: 76 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4147, allocations: 0 / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4147, allocations: 4 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.4147, allocations: 0 / 1.076 GB, free: 5.777 MB / 0.8262 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.000579/0.4153, allocations: 383.2 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4153, allocations: 8.031 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.4154, allocations: 8.844 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.4156, allocations: 212 kB / 1.076 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4157, allocations: 4.375 kB / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.4157, allocations: 384 / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.4158, allocations: 66.23 kB / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.4159, allocations: 192 / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.4159, allocations: 3.938 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4159, allocations: 3.938 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.416, allocations: 47.91 kB / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.4165, allocations: 316.8 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.4167, allocations: 62.55 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.508e-05/0.4168, allocations: 16.86 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.4168, allocations: 0 / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.4168, allocations: 30.56 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.4169, allocations: 4 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002804/0.4171, allocations: 93.72 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.4172, allocations: 51.41 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.4173, allocations: 135.7 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.4173, allocations: 25.7 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.4174, allocations: 104 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.4174, allocations: 7.906 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.4175, allocations: 17.72 kB / 1.077 GB, free: 4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4176, allocations: 322.8 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.402e-05/0.4177, allocations: 16 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.4177, allocations: 15.98 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.819e-05/0.4178, allocations: 32.84 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4178, allocations: 4 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001368/0.418, allocations: 69.61 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.418, allocations: 8 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.418, allocations: 0 / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.418, allocations: 0 / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.4181, allocations: 4 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4181, allocations: 0 / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.4182, allocations: 23.89 kB / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.4182, allocations: 4 kB / 1.078 GB, free: 3.492 MB / 0.8262 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 9.441e-05/0.4183, allocations: 117.8 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.4184, allocations: 7.984 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.4184, allocations: 12.19 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4184, allocations: 0 / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4184, allocations: 0 / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4184, allocations: 4 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.4186, allocations: 185.6 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4186, allocations: 0 / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.4187, allocations: 7.984 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4187, allocations: 0 / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.4187, allocations: 0 / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.4187, allocations: 3.938 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4187, allocations: 0 / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.4189, allocations: 167.4 kB / 1.078 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.4189, allocations: 85.02 kB / 1.078 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.419, allocations: 7.938 kB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4191, allocations: 11.98 kB / 1.078 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.4191, allocations: 7.984 kB / 1.078 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4191, allocations: 4 kB / 1.078 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.656e-05/0.4192, allocations: 108.5 kB / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4192, allocations: 0 / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002164/0.4194, allocations: 11.94 kB / 1.079 GB, free: 2.664 MB / 0.8262 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.0001643/0.4196, allocations: 99.25 kB / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.4198, allocations: 40.16 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.4198, allocations: 4 kB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/0.4198, allocations: 19.98 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.4202, allocations: 16.06 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.4206, allocations: 192.5 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4209, allocations: 0.6965 MB / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.013e-05/0.421, allocations: 7.984 kB / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.421, allocations: 11.38 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.421, allocations: 4 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of Templates: time 0.003059/0.4241, allocations: 0.7146 MB / 1.08 GB, free: 0.8086 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1)