Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.u|greEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.u|greEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001602/0.001603, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.000488, allocations: 12 kB / 0.8146 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7669/0.7674, allocations: 142.3 MB / 0.9535 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold): time 0.0009508/0.7684, allocations: 404 kB / 0.9539 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00099/0.7694, allocations: 0.7747 MB / 0.9547 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.7695, allocations: 1.344 kB / 0.9547 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.855e-05/0.7695, allocations: 11.88 kB / 0.9547 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.7696, allocations: 9.375 kB / 0.9547 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.097e-05/0.7697, allocations: 4 kB / 0.9547 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.608e-05/0.7697, allocations: 9.312 kB / 0.9547 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.7699, allocations: 6.516 kB / 0.9547 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.998e-05/0.7699, allocations: 11.59 kB / 0.9547 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.77, allocations: 10.81 kB / 0.9547 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.77, allocations: 0 / 0.9547 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.77, allocations: 5.375 kB / 0.9547 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.77, allocations: 9.656 kB / 0.9547 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.7701, allocations: 29.64 kB / 0.9548 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.767e-05/0.7701, allocations: 20.45 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7701, allocations: 0 / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7701, allocations: 0 / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.7701, allocations: 0 / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003964/0.7705, allocations: 340.3 kB / 0.9551 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.7706, allocations: 13.12 kB / 0.9551 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.7706, allocations: 5.016 kB / 0.9551 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.608e-05/0.7707, allocations: 165 kB / 0.9553 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.7708, allocations: 0.7812 kB / 0.9553 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.7708, allocations: 0.8438 kB / 0.9553 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.771, allocations: 53.73 kB / 0.9553 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.771, allocations: 0.9688 kB / 0.9553 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.771, allocations: 0 / 0.9553 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.771, allocations: 5.406 kB / 0.9554 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.7712, allocations: 51.03 kB / 0.9554 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.7716, allocations: 255.9 kB / 0.9556 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.7717, allocations: 40.64 kB / 0.9557 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.7717, allocations: 4 kB / 0.9557 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.7718, allocations: 31.66 kB / 0.9557 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.7718, allocations: 0 / 0.9557 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003756/0.7722, allocations: 103 kB / 0.9558 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.7722, allocations: 52.78 kB / 0.9559 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.889e-05/0.7723, allocations: 103.1 kB / 0.956 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.7723, allocations: 27.2 kB / 0.956 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.7723, allocations: 92.06 kB / 0.9561 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.7724, allocations: 5.094 kB / 0.9561 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.7724, allocations: 0 / 0.9561 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.7724, allocations: 316.4 kB / 0.9564 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.7725, allocations: 18.42 kB / 0.9564 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.452e-05/0.7726, allocations: 25.58 kB / 0.9564 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.002e-05/0.7727, allocations: 22.34 kB / 0.9564 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7727, allocations: 0 / 0.9564 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.7729, allocations: 78.11 kB / 0.9565 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.7729, allocations: 6.469 kB / 0.9565 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7729, allocations: 0 / 0.9565 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.7729, allocations: 0 / 0.9565 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.773, allocations: 12.02 kB / 0.9565 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.7731, allocations: 3.984 kB / 0.9565 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.626e-05/0.7731, allocations: 14.83 kB / 0.9566 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.7731, allocations: 8.922 kB / 0.9566 GB, free: 5.312 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.845e-05/0.7732, allocations: 111.8 kB / 0.9567 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.7732, allocations: 1 kB / 0.9567 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.7732, allocations: 4.188 kB / 0.9567 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7733, allocations: 1.156 kB / 0.9567 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7733, allocations: 0 / 0.9567 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7733, allocations: 7.953 kB / 0.9567 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.7734, allocations: 158.8 kB / 0.9568 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.7734, allocations: 5 kB / 0.9568 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.7735, allocations: 11.23 kB / 0.9569 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7735, allocations: 0 / 0.9569 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.7735, allocations: 1.406 kB / 0.9569 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7735, allocations: 3.938 kB / 0.9569 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7735, allocations: 0 / 0.9569 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.7737, allocations: 180.8 kB / 0.957 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.7738, allocations: 78.2 kB / 0.9571 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.7738, allocations: 1.031 kB / 0.9571 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.7739, allocations: 15.17 kB / 0.9571 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.7739, allocations: 5.062 kB / 0.9571 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.7739, allocations: 1.219 kB / 0.9571 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.371e-05/0.7739, allocations: 82.83 kB / 0.9572 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7739, allocations: 3.938 kB / 0.9572 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002029/0.7742, allocations: 4.344 kB / 0.9572 GB, free: 4.625 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001176/0.7743, allocations: 101.8 kB / 0.9573 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.7745, allocations: 55 kB / 0.9574 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7745, allocations: 0 / 0.9574 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.605e-05/0.7746, allocations: 28.72 kB / 0.9574 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.7748, allocations: 4.062 kB / 0.9574 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.7751, allocations: 104.1 kB / 0.9575 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.7752, allocations: 0.6828 MB / 0.9582 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.7753, allocations: 0 / 0.9582 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.7753, allocations: 8.656 kB / 0.9582 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7753, allocations: 4.062 kB / 0.9582 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.002645/0.7779, allocations: 378.3 kB / 0.9585 GB, free: 3.484 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches