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.499/1.499, allocations: 249.5 MB / 257 MB, free: 6.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009724/0.0009724, allocations: 191.4 kB / 316.3 MB, free: 3.203 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.389/1.389, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.000888/0.0008878, allocations: 93.47 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.338e-05, allocations: 8 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2468, allocations: 106.3 MB / 0.8852 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8388/1.086, allocations: 131.6 MB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/1.086, allocations: 70.2 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001637/1.088, allocations: 0.6268 MB / 1.014 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/1.088, allocations: 0 / 1.014 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.088, allocations: 0 / 1.014 GB, free: 5.48 MB / 0.6355 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.0003947/1.088, allocations: 334.5 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/1.088, allocations: 8.031 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/1.088, allocations: 4 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/1.088, allocations: 167 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/1.088, allocations: 3.984 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/1.088, allocations: 0.9375 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.723e-05/1.088, allocations: 15.44 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.46e-05/1.089, allocations: 37.19 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.089, allocations: 0 / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/1.089, allocations: 0 / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/1.089, allocations: 0 / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/1.089, allocations: 251.4 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.099e-05/1.089, allocations: 30.23 kB / 1.015 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/1.089, allocations: 12.86 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/1.089, allocations: 0 / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/1.089, allocations: 38.5 kB / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.089, allocations: 0 / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001476/1.089, allocations: 37.64 kB / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/1.089, allocations: 54.14 kB / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/1.09, allocations: 92.75 kB / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/1.09, allocations: 25.7 kB / 1.015 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/1.09, allocations: 91.88 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/1.09, allocations: 3.906 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/1.09, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.09, allocations: 318.8 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/1.09, allocations: 7.625 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.176e-05/1.09, allocations: 4 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.827e-05/1.09, allocations: 0 / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.09, allocations: 3.938 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.819e-05/1.09, allocations: 45.19 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.09, allocations: 4 kB / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.09, allocations: 0 / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.09, allocations: 4.094 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.888e-05/1.09, allocations: 9.438 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/1.09, allocations: 0 / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/1.09, allocations: 11.98 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/1.09, allocations: 0 / 1.016 GB, free: 3.742 MB / 0.6355 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 () * 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 9.045e-05/1.09, allocations: 110.2 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/1.09, allocations: 4 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/1.09, allocations: 15.69 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.09, allocations: 0 / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.09, allocations: 0 / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/1.09, allocations: 3.938 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/1.091, allocations: 133.8 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.091, allocations: 7.953 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/1.091, allocations: 7.984 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.091, allocations: 1.25 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/1.091, allocations: 4 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/1.091, allocations: 7.938 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.091, allocations: 0 / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/1.091, allocations: 137.8 kB / 1.016 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/1.091, allocations: 89 kB / 1.016 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/1.091, allocations: 0 / 1.016 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/1.091, allocations: 11.98 kB / 1.016 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/1.091, allocations: 4.031 kB / 1.016 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/1.091, allocations: 0.875 kB / 1.016 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.442e-05/1.091, allocations: 82.97 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/1.091, allocations: 3.938 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001946/1.091, allocations: 4 kB / 1.017 GB, free: 3.062 MB / 0.6355 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 () * 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.0002385/1.092, allocations: 103.2 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001016/1.092, allocations: 15.5 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.092, allocations: 4.062 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.173e-05/1.092, allocations: 7.062 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/1.092, allocations: 4 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/1.092, allocations: 59.44 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/1.093, allocations: 0.6807 MB / 1.017 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.622e-05/1.093, allocations: 0 / 1.017 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/1.093, allocations: 7.438 kB / 1.017 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/1.093, allocations: 4.062 kB / 1.017 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of Templates: time 0.002384/1.095, allocations: 378.4 kB / 1.018 GB, free: 1.789 MB / 0.6355 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