Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.y|greEquThr.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.y|greEquThr.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 181.6 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 87.92 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003199, allocations: 14.34 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2042, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.3677, allocations: 131.4 MB / 1.028 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.368, allocations: 67.95 kB / 1.028 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001602/0.3696, allocations: 0.6217 MB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3697, allocations: 0 / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.3697, allocations: 4 kB / 1.029 GB, free: 11.67 MB / 0.6823 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.0003838/0.3701, allocations: 351.5 kB / 1.029 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3701, allocations: 8.031 kB / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.3702, allocations: 0 / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3703, allocations: 170.9 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3703, allocations: 3.938 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.3703, allocations: 4 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3705, allocations: 57.67 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3705, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3705, allocations: 4 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3706, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.3707, allocations: 51.89 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3711, allocations: 268.9 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.3713, allocations: 42.56 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.3713, allocations: 3.938 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.3713, allocations: 38.61 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.3713, allocations: 0 / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003361/0.3716, allocations: 93.59 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.3717, allocations: 55.41 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.3718, allocations: 92.98 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3718, allocations: 25.7 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.3718, allocations: 92.27 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.3718, allocations: 7.844 kB / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.3719, allocations: 0 / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.372, allocations: 318.8 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.492e-05/0.3721, allocations: 23.98 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.3721, allocations: 19.98 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.792e-05/0.3722, allocations: 23.98 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3722, allocations: 0 / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001892/0.3724, allocations: 81.66 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3724, allocations: 4 kB / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3725, allocations: 0 / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3725, allocations: 0 / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.3726, allocations: 11.98 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3726, allocations: 0 / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/0.3726, allocations: 16.02 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.3727, allocations: 0 / 1.031 GB, free: 9.629 MB / 0.6823 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 6.515e-05/0.3727, allocations: 117.8 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.3727, allocations: 0 / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.3728, allocations: 3.125 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3728, allocations: 7.938 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3728, allocations: 0 / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3728, allocations: 0 / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.3729, allocations: 165.5 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.373, allocations: 0 / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.373, allocations: 12 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3731, allocations: 0 / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3731, allocations: 0 / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3731, allocations: 3.984 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3731, allocations: 0 / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.3733, allocations: 179.4 kB / 1.031 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.3734, allocations: 85.08 kB / 1.031 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.3734, allocations: 0 / 1.031 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.3735, allocations: 8.25 kB / 1.031 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.3735, allocations: 7.984 kB / 1.031 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3735, allocations: 8.031 kB / 1.031 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.3736, allocations: 83.22 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3736, allocations: 4 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000189/0.3738, allocations: 0 / 1.032 GB, free: 8.863 MB / 0.6823 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.0001343/0.3739, allocations: 107.2 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.3741, allocations: 47.97 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.3741, allocations: 0 / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.978e-05/0.3742, allocations: 23.92 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.3744, allocations: 7.953 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/0.3746, allocations: 112.8 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.3749, allocations: 0.677 MB / 1.032 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.3749, allocations: 7.938 kB / 1.032 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.3749, allocations: 7.438 kB / 1.032 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of SimCode: time 3.2e-07/0.3749, allocations: 0 / 1.032 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of Templates: time 0.001943/0.3769, allocations: 388.2 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches