Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 99.86 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.001131/0.001132, allocations: 177.3 kB / 15.95 MB, free: 216 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.492/1.492, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.89/2.89, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004431, allocations: 12 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7994/0.7999, allocations: 153.6 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0009287/0.8008, allocations: 441.2 kB / 1.021 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008994/0.8017, allocations: 0.8196 MB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.8018, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.8018, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.545e-05/0.8019, allocations: 7.984 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.802, allocations: 23.84 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.327e-05/0.8021, allocations: 23.97 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.8022, allocations: 12 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.491e-05/0.8023, allocations: 15.92 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.8024, allocations: 23.91 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.8024, allocations: 4 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.8025, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.8025, allocations: 3.984 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.8025, allocations: 37.64 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.502e-05/0.8026, allocations: 31.92 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.8026, allocations: 0 / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8026, allocations: 4 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.8026, allocations: 0 / 1.022 GB, free: 15.62 MB / 0.7794 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.0005038/0.8031, allocations: 351.2 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8032, allocations: 11.98 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.8032, allocations: 7.906 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.8034, allocations: 175 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.8034, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.8034, allocations: 8 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.8036, allocations: 69.61 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.8036, allocations: 0 / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.8037, allocations: 4 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.8037, allocations: 4 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.8039, allocations: 63.89 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.8043, allocations: 288.7 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.8045, allocations: 70.55 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.8046, allocations: 3.938 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.8046, allocations: 30.56 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/0.8046, allocations: 0 / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004209/0.805, allocations: 129.7 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.8051, allocations: 55.41 kB / 1.023 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.8052, allocations: 105.8 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.8052, allocations: 25.7 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.8052, allocations: 92.05 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.8053, allocations: 15.91 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.8053, allocations: 0 / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8054, allocations: 318.8 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.8055, allocations: 35.86 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.246e-05/0.8056, allocations: 27.97 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.709e-05/0.8057, allocations: 27.98 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.8057, allocations: 7.953 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002412/0.806, allocations: 93.64 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.806, allocations: 8 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.806, allocations: 0 / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.806, allocations: 0 / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.8062, allocations: 19.98 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.8062, allocations: 320 / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.61e-05/0.8063, allocations: 15.89 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.8063, allocations: 0 / 1.024 GB, free: 13.38 MB / 0.7794 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 (intLesEquThr.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.317e-05/0.8064, allocations: 121.8 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.8064, allocations: 4.281 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.8064, allocations: 3.906 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.8064, allocations: 7.984 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8064, allocations: 3.984 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.8064, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.8066, allocations: 169.7 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8066, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.054e-05/0.8067, allocations: 19.94 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8067, allocations: 4 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.8068, allocations: 3.984 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8068, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.8068, allocations: 4 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.8071, allocations: 195.3 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.8071, allocations: 77.11 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.8071, allocations: 7.953 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.8072, allocations: 7.984 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.8073, allocations: 15.92 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.8073, allocations: 4 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.023e-05/0.8074, allocations: 87.27 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8074, allocations: 4 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002141/0.8076, allocations: 8 kB / 1.025 GB, free: 12.55 MB / 0.7794 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 (intLesEquThr.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 (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.0001195/0.8077, allocations: 99.23 kB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.808, allocations: 63.95 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.808, allocations: 4 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.8081, allocations: 39.91 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.8083, allocations: 4.562 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.8087, allocations: 140.6 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.8089, allocations: 0.6848 MB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.599e-05/0.809, allocations: 7.984 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.809, allocations: 11.44 kB / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.809, allocations: 0 / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of Templates: time 0.002739/0.8118, allocations: 0.7382 MB / 1.027 GB, free: 10.7 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches